(it was loading the setup files, then following the imports into "built" directory. as those are compiled JS, it produced lots of type errors.)
15 lines
376 B
TypeScript
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",
|
|
],
|
|
};
|