2021-03-10 02:35:34 +03:00
|
|
|
// jest.config.ts
|
|
|
|
import type { Config } from "@jest/types"
|
|
|
|
|
|
|
|
const config: Config.InitialOptions = {
|
|
|
|
transform: {
|
|
|
|
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest",
|
|
|
|
},
|
|
|
|
globalSetup: "<rootDir>/utils/globalSetup.ts",
|
|
|
|
testEnvironment: "node",
|
2021-03-17 00:43:29 +03:00
|
|
|
testPathIgnorePatterns: ["/node_modules/", "/lib/", "/out/", "test/unit"],
|
2021-03-10 02:35:34 +03:00
|
|
|
testTimeout: 30000,
|
|
|
|
modulePathIgnorePatterns: [
|
|
|
|
"<rootDir>/../lib/vscode",
|
|
|
|
"<rootDir>/../release-packages",
|
|
|
|
"<rootDir>/../release",
|
|
|
|
"<rootDir>/../release-standalone",
|
|
|
|
"<rootDir>/../release-npm-package",
|
|
|
|
"<rootDir>/../release-gcp",
|
|
|
|
"<rootDir>/../release-images",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
export default config
|