File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4343 "lint:fix" : " pnpm -r --if-present --parallel --stream --no-bail run lint:fix" ,
4444 "lint" : " pnpm -r --if-present --parallel --stream --no-bail run lint" ,
4545 "start" : " pnpm --filter ./frontend run start " ,
46- "test:unit" : " pnpm -r --if-present --parallel --stream --no-bail run test:unit" ,
46+ "test:unit" : " pnpm -r --if-present --workspace-concurrency=2 --no-bail run test:unit" ,
4747 "typecheck" : " pnpm -r --if-present --parallel --stream --no-bail run typecheck"
4848 },
4949 "workspaces" : [
Original file line number Diff line number Diff line change 11import type { Config } from 'jest' ;
22
33export const baseJestConfig : Config = {
4- preset : 'ts-jest' ,
5-
64 // Automatically clear mock calls, instances, contexts and results before every test
75 clearMocks : true ,
86
97 // Indicates whether the coverage information should be collected while executing the test
108 collectCoverage : true ,
119
10+ maxWorkers : '50%' ,
11+
1212 // The directory where Jest should output its coverage files
1313 coverageDirectory : './.reports/unit/coverage' ,
1414
@@ -25,7 +25,7 @@ export const baseJestConfig: Config = {
2525 } ,
2626
2727 coveragePathIgnorePatterns : [ '/__tests__/' ] ,
28- transform : { '^.+\\.ts $' : '@swc/jest' } ,
28+ transform : { '^.+\\.(t|j)sx? $' : '@swc/jest' } ,
2929 testMatch : [ '**/?(*.)+(spec|test).[jt]s?(x)' ] ,
3030
3131 // Use this configuration option to add custom reporters to Jest
You can’t perform that action at this time.
0 commit comments