mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 13:38:02 +02:00
fix test
This commit is contained in:
parent
360f37e23a
commit
f5d00ab0e6
2 changed files with 4 additions and 1 deletions
3
jest.config.mjs
vendored
3
jest.config.mjs
vendored
|
@ -52,6 +52,9 @@ export default {
|
|||
},
|
||||
target: 'es2020',
|
||||
},
|
||||
module: {
|
||||
ignoreDynamic: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue