Skip to content

Commit

Permalink
Showcase how some code is not tracked with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Decker authored and Roman Decker committed Apr 27, 2022
1 parent f02c503 commit d773cae
Show file tree
Hide file tree
Showing 5 changed files with 27,496 additions and 6,291 deletions.
2 changes: 1 addition & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extension": [".js", ".jsx", ".ts", ".tsx"],
"extends": "@istanbuljs/nyc-config-typescript",
"include": ["pages/**/*"],
"include": ["pages/**/*", "no-coverage-here/**/*"],
"exclude": ["pages/api/__coverage__.js"],
"all": true,
"sourceMap": true,
Expand Down
3 changes: 3 additions & 0 deletions no-coverage-here/some-file.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function foo() {
return "hello, world!";
}
Loading

0 comments on commit d773cae

Please sign in to comment.