From 48f2af69f2d2c4a5b6dd3bd5a19e33ee6bae96c1 Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Mon, 4 May 2020 18:02:06 +0900 Subject: [PATCH] Add jest config --- jest.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..14e44f9 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,11 @@ +module.exports = { + clearMocks: true, + moduleFileExtensions: ['js', 'ts'], + testEnvironment: 'node', + testMatch: ['**/*.test.ts'], + testRunner: 'jest-circus/runner', + transform: { + '^.+\\.ts$': 'ts-jest' + }, + verbose: true +}