From e6279ae486eef2d549a4b5dd15e4e446d2180dc7 Mon Sep 17 00:00:00 2001 From: Li Zhineng Date: Sat, 19 Jul 2025 15:35:02 +0800 Subject: give up monorepo --- jest.config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 jest.config.js (limited to 'jest.config.js') diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..fbde747 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,11 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} **/ +const config = { + preset: 'ts-jest/presets/default-esm', + moduleNameMapper: { + '^(\\.{1,2}/.*)\\.js$': '$1', + }, + testEnvironment: 'node', + testMatch: ['/src/**/*.test.ts'], +} + +export default config -- cgit v1.2.3