This commit is contained in:
James Ives 2020-01-15 11:20:00 -05:00
parent 169bdd29ec
commit d594b42744
3 changed files with 2 additions and 2 deletions

View File

@ -1 +0,0 @@
process.env.UNIT_TEST = true

1
__tests__/env.ts Normal file
View File

@ -0,0 +1 @@
process.env.UNIT_TEST = 'true'

View File

@ -8,5 +8,5 @@ module.exports = {
'^.+\\.ts$': 'ts-jest' '^.+\\.ts$': 'ts-jest'
}, },
verbose: true, verbose: true,
setupFiles: ["<rootDir>/__tests__/env.js"] setupFiles: ["<rootDir>/__tests__/env.ts"]
} }