Skip to content

Commit 4a52760

Browse files
committed
CCM-10981: wip
1 parent 4b24806 commit 4a52760

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
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": [

utils/utils/jest.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import type { Config } from 'jest';
22

33
export 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

0 commit comments

Comments
 (0)