This commit is contained in:
Joshua Chen 2022-07-12 15:23:32 +08:00
parent 360f37e23a
commit f5d00ab0e6
No known key found for this signature in database
GPG key ID: C37145B818BDB68F
2 changed files with 4 additions and 1 deletions

3
jest.config.mjs vendored
View file

@ -52,6 +52,9 @@ export default {
},
target: 'es2020',
},
module: {
ignoreDynamic: true,
},
},
],
},

View file

@ -51,7 +51,7 @@
"lint:spelling": "cspell \"**\" --no-progress",
"lint:style": "stylelint \"**/*.css\"",
"lerna": "lerna",
"test": "jest",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:build:website": "./admin/scripts/test-release.sh",
"watch": "yarn lerna run --parallel watch",
"clear": "(yarn workspace website clear || echo 'Failure while running docusaurus clear') && yarn lerna exec --ignore docusaurus yarn rimraf lib",