From f13d3650620db1e14ff69a4d5df214f231143c57 Mon Sep 17 00:00:00 2001 From: JamesIves Date: Sat, 21 Mar 2020 17:07:51 -0400 Subject: [PATCH] Formatting --- __tests__/env.js | 1 - __tests__/env.ts | 1 + jest.config.js | 6 +++--- 3 files changed, 4 insertions(+), 4 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 b6e5dee0..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..2c33a5a1 --- /dev/null +++ b/__tests__/env.ts @@ -0,0 +1 @@ +process.env.UNIT_TEST = 'true' diff --git a/jest.config.js b/jest.config.js index 9eaa7c54..159387d1 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,7 +8,7 @@ module.exports = { '^.+\\.ts$': 'ts-jest' }, verbose: true, - setupFiles: ["/__tests__/env.js"], + setupFiles: ['/__tests__/env.ts'], collectCoverage: true, - collectCoverageFrom: ['src/*.ts','!src/constants.ts'] -} \ No newline at end of file + collectCoverageFrom: ['src/*.ts', '!src/constants.ts'] +}