From 12c727a3dcf8c1a548d8d041c9d5ef5cebb3ba2e Mon Sep 17 00:00:00 2001 From: Saurav Maheshkar Date: Wed, 29 Mar 2023 14:22:58 +0100 Subject: [PATCH] chore: move jest config to package.json --- jest.config.js | 11 ----------- package.json | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 jest.config.js diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index dd2dfff..0000000 --- a/jest.config.js +++ /dev/null @@ -1,11 +0,0 @@ -module.exports = { - clearMocks: true, - moduleFileExtensions: ["js", "ts"], - testEnvironment: "node", - testMatch: ["**/*.test.ts"], - testRunner: "jest-circus/runner", - transform: { - "^.+\\.ts$": "ts-jest" - }, - verbose: true -} diff --git a/package.json b/package.json index f0fb16b..5fc46d1 100644 --- a/package.json +++ b/package.json @@ -111,5 +111,16 @@ } } ] + }, + "jest": { + "clearMocks": true, + "moduleFileExtensions": ["js", "ts"], + "testEnvironment": "node", + "testMatch": ["**/*.test.ts"], + "testRunner": "jest-circus/runner", + "transform": { + "^.+\\.ts$": "ts-jest" + }, + "verbose": true } }