fix tests
This commit is contained in:
parent
60be949c23
commit
59ab07a19c
2 changed files with 2 additions and 2 deletions
|
|
@ -27,6 +27,6 @@ export default {
|
|||
// "!**/autocomplete/context/root-path-context/test/files/**",
|
||||
],
|
||||
globalSetup: "<rootDir>/test/jest.global-setup.ts",
|
||||
setupFilesAfterEnv: ["<rootDir>/test/jest.setup-after-env.ts"],
|
||||
setupFilesAfterEnv: ["<rootDir>/test/jest.setup-after-env.js"],
|
||||
maxWorkers: 1, // equivalent to CLI --runInBand
|
||||
};
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ if (process.env.DEBUG === "jest") {
|
|||
jest.setTimeout(5 * 60 * 1000);
|
||||
}
|
||||
|
||||
const globalThis = global as any;
|
||||
const globalThis = global;
|
||||
|
||||
globalThis.jest = jest;
|
||||
|
||||
Loading…
Add table
Reference in a new issue