Update wca test command and ignore api-core-test

Update test:packages cmd
This commit is contained in:
Chi-Hsuan Huang 2022-03-28 15:24:41 +08:00
parent 4baad1a6e3
commit f2a6f93684
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
"pretest": "pnpm run -s install-if-no-packages",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --config client/jest.config.js --watch --runInBand --no-cache",
"test:client": "jest --config client/jest.config.js",
"test:packages": "pnpm run:packages -- test",
"test:packages": "pnpm run --filter ../../packages/js/ --filter !api-core-tests test",
"test": "pnpm nx build @woocommerce/js-tests && pnpm run test:client",
"test:e2e": "pnpm run build && test -z \"$(docker ps | grep woocommerce-admin-e2e)\" || pnpm exec wc-e2e docker:down && pnpm run e2e:docker-up && pnpm exec wc-e2e test:e2e",
"e2e:docker-up": "WC_E2E_FOLDER=../../../ pnpm exec wc-e2e docker:up ./tests/e2e/docker/initialize.sh",