Skip to content

Commit

Permalink
test: exclude some files that do not need to be coverage collected
Browse files Browse the repository at this point in the history
Signed-off-by: Rong Sen Ng (motss) <[email protected]>
  • Loading branch information
motss committed Jan 7, 2024
1 parent dd60c48 commit 296ac31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../../year-grid-button/app-year-grid-button';
import { fixture, html } from '@open-wc/testing-helpers';
import { describe, expect, it } from 'vitest';

import type {AppYearGridButton } from '../../year-grid-button/app-year-grid-button';
import type { AppYearGridButton } from '../../year-grid-button/app-year-grid-button';
import { appYearGridButtonName } from '../../year-grid-button/constants';

describe(appYearGridButtonName, () => {
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default defineConfig({
"100": false,
autoUpdate: true,
},
exclude: ['**/*{benchmarks,mocks,tests}*/**'],
exclude: ['**/*{benchmarks,demo,mocks,tests}*/**', '**/swipe-tracker/**'],
provider: 'istanbul',
reporter: ['lcov', 'text'],
},
Expand Down

0 comments on commit 296ac31

Please sign in to comment.