Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions coveragerobot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
path_replacements:
# The coverage reports need to match the path of the source files in GitHub. In this case,
# the files generated by Jest are relative to the project root (inside of the example folder),
# so we need to re-map the paths to match the source files in the repository when uploaded.
- before: '^typescript-jest/'
after: 'example/typescript-jest/'
1 change: 1 addition & 0 deletions examples/typescript-jest/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const config: Config = {
".styled.{tsx,ts}",
"index.ts",
],
coverageReporters: [["lcov", { projectRoot: ".." }]],
};

export default config;