mistykey/packages/backend/jest.config.e2e.ts
Hazelnoot d6071853ca fix TS errors when checking unit tests
(it was loading the setup files, then following the imports into "built" directory. as those are compiled JS, it produced lots of type errors.)
2025-11-11 23:13:11 -05:00

15 lines
376 B
TypeScript

/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/en/configuration.html
*/
import base from './jest.config.common.ts';
export default {
...base,
globalSetup: "<rootDir>/built-test/entry.js",
setupFilesAfterEnv: ["<rootDir>/test/jest.setup.e2e.mjs"],
testMatch: [
"<rootDir>/test/e2e/**/*.ts",
],
};