Skip to content

Commit

Permalink
Ignore snapshots in the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
frondeus committed Apr 7, 2023
1 parent 16b61d9 commit 2e8fcbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { Config } from 'jest';
import { pathsToModuleNameMapper } from 'ts-jest';

const config: Config = {
collectCoverageFrom: ['src/**/*'],
collectCoverageFrom: ['src/**/*.{svelte,ts,js}'],
coveragePathIgnorePatterns: [
'<rootDir>/src/main.ts', // Because execution part is hard to test
'<rootDir>/src/services/game.ts', // Because its an implementation detail of foundry, non-testable
Expand Down

0 comments on commit 2e8fcbd

Please sign in to comment.