diff --git a/jest.config.ts b/jest.config.ts new file mode 100644 index 0000000..d511a13 --- /dev/null +++ b/jest.config.ts @@ -0,0 +1,12 @@ +// jest.config.ts +import { createDefaultPreset, type JestConfigWithTsJest } from 'ts-jest'; + +const jestConfig: JestConfigWithTsJest = { + testEnvironment: "node", + preset: 'ts-jest/presets/js-with-ts-esm', + transform: { + "^.+.tsx?$": ["ts-jest",{}], + }, +}; + +export default jestConfig; \ No newline at end of file