We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00712c0 commit 1cadcb3Copy full SHA for 1cadcb3
jest.config.js
@@ -1,12 +1,16 @@
1
'use strict';
2
3
+/**
4
+ * @type {import('jest').Config}
5
+ */
6
module.exports = {
7
restoreMocks: true,
8
resetMocks: true,
9
testEnvironment: 'node',
10
testRunner: 'jest-circus/runner',
11
// ? 24h if debugging so MMS and other tools don't choke, otherwise 1m
12
testTimeout: 1000 * 60 * (process.env.VSCODE_INSPECTOR_OPTIONS ? 60 * 24 : 1),
13
+ maxConcurrency: require('node:os').cpus().length - 1,
14
verbose: false,
15
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
16
setupFilesAfterEnv: ['./test/setup.ts'],
0 commit comments