From 0570fd3ee3b74fbf3d3c997bb79f4f83fdd3c647 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Wed, 4 Sep 2024 17:09:07 +0100 Subject: [PATCH] Move jest config to json file to handle es module --- header-gen/jest.config.js | 5 ----- header-gen/jest.config.json | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 header-gen/jest.config.js create mode 100644 header-gen/jest.config.json diff --git a/header-gen/jest.config.js b/header-gen/jest.config.js deleted file mode 100644 index 1c8de09..0000000 --- a/header-gen/jest.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', - testMatch: ['**/?(*.)+(spec|test).[tj]s?(x)'] -}; diff --git a/header-gen/jest.config.json b/header-gen/jest.config.json new file mode 100644 index 0000000..e2273a3 --- /dev/null +++ b/header-gen/jest.config.json @@ -0,0 +1,5 @@ +{ + "preset": "ts-jest", + "testEnvironment": "node", + "testMatch": ["**/?(*.)+(spec|test).[tj]s?(x)"] +}