Skip to content

Commit 6cc2af3

Browse files
committed
fix: transform all node_modules to handle cascading ESM deps
The @kubernetes/client-node dependency tree has deeply nested ESM-only packages (openid-client, jose, oauth4webapi, etc). Listing them individually is unsustainable — allow Jest to transform everything.
1 parent e7f0519 commit 6cc2af3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/jest-e2e.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"transform": {
77
"^.+\\.(t|j)s$": "ts-jest"
88
},
9-
"transformIgnorePatterns": [
10-
"node_modules/(?!@kubernetes/client-node|openid-client|oauth4webapi|rfc4648|jsonpath-plus)"
11-
],
9+
"transformIgnorePatterns": [],
1210
"globalSetup": "./setup.ts",
1311
"globalTeardown": "./teardown.ts",
1412
"moduleNameMapper": {

0 commit comments

Comments
 (0)