Simplify Jest setup

- Remove explicit dependency on jest-circus: this is now the default runner
- Remove test timeout setting
- Remove @types/jest from explicit dependencies
This commit is contained in:
Daz DeBoer 2022-05-15 09:46:37 -06:00
parent 202e4e0271
commit f1c309a163
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D
4 changed files with 5 additions and 8 deletions

View file

@ -3,10 +3,8 @@ module.exports = {
moduleFileExtensions: ['js', 'ts', 'json'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true,
setupFilesAfterEnv: ['./jest.setup.js']
verbose: true
}