Skip to content

Commit f5d00ab

Browse files
committed
fix test
1 parent 360f37e commit f5d00ab

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

jest.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ export default {
5252
},
5353
target: 'es2020',
5454
},
55+
module: {
56+
ignoreDynamic: true,
57+
},
5558
},
5659
],
5760
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"lint:spelling": "cspell \"**\" --no-progress",
5252
"lint:style": "stylelint \"**/*.css\"",
5353
"lerna": "lerna",
54-
"test": "jest",
54+
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
5555
"test:build:website": "./admin/scripts/test-release.sh",
5656
"watch": "yarn lerna run --parallel watch",
5757
"clear": "(yarn workspace website clear || echo 'Failure while running docusaurus clear') && yarn lerna exec --ignore docusaurus yarn rimraf lib",

0 commit comments

Comments
 (0)