feat: add jest e2e config

This commit is contained in:
Joe Previte 2021-03-09 16:35:34 -07:00
parent 529d69e8e8
commit 6fd30d91ea
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
1 changed files with 22 additions and 0 deletions

22
test/jest.e2e.config.ts Normal file
View File

@ -0,0 +1,22 @@
// 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",
testPathIgnorePatterns: ["node_modules", "lib", "out", "test/unit"],
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