Skip to content

Commit 9d18d0f

Browse files
committedNov 27, 2024
refactor: use createCjsPreset function for jest-preset.js
1 parent 552922e commit 9d18d0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎jest-preset.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
module.exports = require('./presets').defaults;
1+
const { createCjsPreset } = require('./presets');
2+
3+
module.exports = createCjsPreset();

0 commit comments

Comments
 (0)
Please sign in to comment.