workflow: update test
script to support command line flags (#4947)
This commit is contained in:
parent
2a4f134fc5
commit
90083f5718
@ -9,7 +9,7 @@
|
|||||||
"size-baseline": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build",
|
"size-baseline": "node scripts/build.js runtime-dom runtime-core reactivity shared -f esm-bundler && cd packages/size-check && vite build",
|
||||||
"lint": "eslint --ext .ts packages/*/src/**.ts",
|
"lint": "eslint --ext .ts packages/*/src/**.ts",
|
||||||
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
"format": "prettier --write --parser typescript \"packages/**/*.ts?(x)\"",
|
||||||
"test": "run-s test-unit test-e2e",
|
"test": "run-s \"test-unit -- {@}\" \"test-e2e -- {@}\" --",
|
||||||
"test-unit": "jest --filter ./scripts/filter-unit.js",
|
"test-unit": "jest --filter ./scripts/filter-unit.js",
|
||||||
"test-e2e": "node scripts/build.js vue -f global -d && jest --filter ./scripts/filter-e2e.js --runInBand",
|
"test-e2e": "node scripts/build.js vue -f global -d && jest --filter ./scripts/filter-e2e.js --runInBand",
|
||||||
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
|
"test-dts": "node scripts/build.js shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
|
||||||
|
Loading…
Reference in New Issue
Block a user