Skip to content

Commit 67bd654

Browse files
committed
fix: remove invalid Jest preset from configuration
- Remove preset: 'default' which doesn't exist in Jest - Add testEnvironment: 'node' for proper Node.js testing - Keep ES module configuration for .mjs file support - Fix 'Preset default not found' validation error
1 parent b8cc659 commit 67bd654

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,11 @@ jobs:
136136
137137
cat << 'EOF' > jest.config.js
138138
export default {
139-
preset: 'default',
140139
extensionsToTreatAsEsm: ['.mjs'],
141-
globals: {
142-
'ts-jest': {
143-
useESM: true
144-
}
145-
},
146140
transform: {},
147141
testMatch: ['**/*.test.mjs'],
148-
testTimeout: 30000
142+
testTimeout: 30000,
143+
testEnvironment: 'node'
149144
};
150145
EOF
151146

0 commit comments

Comments
 (0)