Skip to content

Commit 309688f

Browse files
committed
feat: add jest e2e config
1 parent 3e92daa commit 309688f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

test/jest.e2e.config.ts

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// jest.config.ts
2+
import type { Config } from "@jest/types"
3+
4+
const config: Config.InitialOptions = {
5+
transform: {
6+
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest",
7+
},
8+
globalSetup: "<rootDir>/utils/globalSetup.ts",
9+
testEnvironment: "node",
10+
testPathIgnorePatterns: ["node_modules", "lib", "out", "test/unit"],
11+
testTimeout: 30000,
12+
modulePathIgnorePatterns: [
13+
"<rootDir>/../lib/vscode",
14+
"<rootDir>/../release-packages",
15+
"<rootDir>/../release",
16+
"<rootDir>/../release-standalone",
17+
"<rootDir>/../release-npm-package",
18+
"<rootDir>/../release-gcp",
19+
"<rootDir>/../release-images",
20+
],
21+
}
22+
export default config

0 commit comments

Comments
 (0)