Skip to content

Commit 1dc74a6

Browse files
committed
fix: add transformIgnorePatterns for @kubernetes/client-node ESM in E2E tests
The package ships ESM (export *) which Jest can't parse in CJS mode.
1 parent 8bbb362 commit 1dc74a6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/jest-e2e.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"transform": {
77
"^.+\\.(t|j)s$": "ts-jest"
88
},
9+
"transformIgnorePatterns": [
10+
"node_modules/(?!@kubernetes/client-node)"
11+
],
912
"globalSetup": "./setup.ts",
1013
"globalTeardown": "./teardown.ts",
1114
"moduleNameMapper": {

0 commit comments

Comments
 (0)