diff --git a/__tests__/env.js b/__tests__/env.js deleted file mode 100644 index e79aacd9..00000000 --- a/__tests__/env.js +++ /dev/null @@ -1 +0,0 @@ -process.env.UNIT_TEST = true \ No newline at end of file diff --git a/__tests__/env.ts b/__tests__/env.ts new file mode 100644 index 00000000..3a0445b1 --- /dev/null +++ b/__tests__/env.ts @@ -0,0 +1 @@ +process.env.UNIT_TEST = 'true' \ No newline at end of file diff --git a/jest.config.js b/jest.config.js index 6114ff66..5001d643 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,5 +8,5 @@ module.exports = { '^.+\\.ts$': 'ts-jest' }, verbose: true, - setupFiles: ["/__tests__/env.js"] + setupFiles: ["/__tests__/env.ts"] } \ No newline at end of file