Skip to content

Commit

Permalink
[svelte-kit-scss] Fix: exclude spec and test files (#1199)
Browse files Browse the repository at this point in the history
* fix: exclude spec and test files

* fix: test/spec files exclude from coverage
  • Loading branch information
Ian Sam Mungai authored Dec 15, 2023
1 parent 2a8d422 commit 24d0f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starters/svelte-kit-scss/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const config: UserConfig & { test: VitestConfig['test'] } = {
setupFiles: ['./setupTests.ts'],
// Exclude files in c8
coverage: {
exclude: ['setupTest.ts'],
exclude: ['setupTest.ts', 'src/**/*.spec.ts', 'src/**/*.test.ts'],
},
deps: {
// Put Svelte component here, e.g., inline: [/svelte-multiselect/, /msw/]
Expand Down

0 comments on commit 24d0f73

Please sign in to comment.