test: enable new globalsCleanup
This commit is contained in:
parent
c9d8a03156
commit
244778058c
1 changed files with 3 additions and 0 deletions
|
|
@ -25,6 +25,9 @@ const config: Config = {
|
|||
resetModules: true,
|
||||
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
|
||||
testEnvironment: 'node',
|
||||
testEnvironmentOptions: {
|
||||
globalsCleanup: 'on',
|
||||
},
|
||||
transform: {
|
||||
'^.+.tsx?$': ['ts-jest', {
|
||||
tsconfig: 'tsconfig.dev.json',
|
||||
|
|
|
|||
Loading…
Reference in a new issue