1bf4cf3e76
This PR upgrades `jest-worker` and `jest-cli` to the latest pre-release version, also removed `jest-circus` which is included in Jest by default. `jest-worker@next` includes a fix for memory leak that we need (https://github.com/facebook/jest/pull/11187). Fixes #22925. This will also improve the OOM issue for `next dev` #15855.
10 lines
339 B
JavaScript
10 lines
339 B
JavaScript
module.exports = {
|
|
testMatch: ['**/*.test.js'],
|
|
verbose: true,
|
|
rootDir: 'test',
|
|
modulePaths: ['<rootDir>/lib'],
|
|
globalSetup: '<rootDir>/jest-global-setup.js',
|
|
globalTeardown: '<rootDir>/jest-global-teardown.js',
|
|
setupFilesAfterEnv: ['<rootDir>/jest-setup-after-env.js'],
|
|
testEnvironment: '<rootDir>/jest-environment.js',
|
|
}
|