Skip to content

Commit f700c12

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/pause-button-typescript-example
2 parents 30b904b + 2fbc2a8 commit f700c12

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

coveragerobot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
path_replacements:
2+
# The coverage reports need to match the path of the source files in GitHub. In this case,
3+
# the files generated by Jest are relative to the project root (inside of the example folder),
4+
# so we need to re-map the paths to match the source files in the repository when uploaded.
5+
- before: '^typescript-jest/'
6+
after: 'example/typescript-jest/'

examples/typescript-jest/jest.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const config: Config = {
1010
".styled.{tsx,ts}",
1111
"index.ts",
1212
],
13+
coverageReporters: [["lcov", { projectRoot: ".." }]],
1314
};
1415

1516
export default config;

0 commit comments

Comments
 (0)