avoid flaky cases in verification testing (#4785)

This commit is contained in:
Alex Lam S.L
2021-03-16 12:50:33 +00:00
committed by GitHub
parent 7b43b6396f
commit b98ce6c84f
2 changed files with 13 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ rm -rf tmp/rollup \
- "postpublish": "pinst --enable",
- "prepare": "npm run build",
- "prepublishOnly": "pinst --disable && npm ci && npm run lint:nofix && npm run security && npm run build:bootstrap && npm run test:all",
--- a/test/cli/index.js
+++ b/test/cli/index.js
@@ -13,0 +14 @@ sander.rimrafSync(__dirname, 'node_modules');
+sander.rimrafSync(__dirname, 'samples', 'watch', 'watch-config-error');
EOF
ERR=$?; if [ "$ERR" != "0" ]; then echo "Error: $ERR"; exit $ERR; fi
npm install esbuild-wasm@0.8.56 \