From d594b42744e6c624ae54471c8df92db83c1dd747 Mon Sep 17 00:00:00 2001 From: James Ives Date: Wed, 15 Jan 2020 11:20:00 -0500 Subject: [PATCH] js > ts --- __tests__/env.js | 1 - __tests__/env.ts | 1 + jest.config.js | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 __tests__/env.js create mode 100644 __tests__/env.ts 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