diff --git a/new/common/jest.config.mjs b/new/common/jest.config.mjs new file mode 100644 index 000000000..b34e61c80 --- /dev/null +++ b/new/common/jest.config.mjs @@ -0,0 +1,16 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} */ +export default { + testEnvironment: 'node', + testMatch: ["/test/**/*.ts"], + transform: { + '^.+\\.tsx?$': [ + 'ts-jest', + { + tsconfig: "/test/tsconfig.json" + }, + ], + }, + moduleNameMapper: { + '^#self/(.*)$': '/src/$1' + } +}; \ No newline at end of file