Skip to content

Commit

Permalink
test: include coverage summary after running unit tests, and while ch…
Browse files Browse the repository at this point in the history
…ecking global code coverage
  • Loading branch information
murdos committed Dec 28, 2024
1 parent 9910e9b commit 91a45d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extension": [".js", ".cjs", ".mjs", ".ts", ".vue"],
"reporter": ["html", "json"],
"reporter": ["html", "json", "text-summary"],
"report-dir": "target/frontend-coverage/combined",
"temp-dir": "target/.nyc_output",
"check-coverage": true,
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default defineConfig({
all: false,
provider: 'istanbul',
reportsDirectory: 'target/frontend-coverage/unit-tests/',
reporter: ['html', 'json'],
reporter: ['html', 'json', 'text-summary'],
},
},
});

0 comments on commit 91a45d1

Please sign in to comment.