chore: Update test command in CI

pull/84/head
boazpoolman 2022-12-30 14:25:20 +01:00
parent ae0d5b18a4
commit 5d2f8b6c09
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ jobs:
- name: Build playground - name: Build playground
run: yarn playground:build run: yarn playground:build
- name: Run test - name: Run test
run: cd playground && jest --verbose run: yarn run -s test:integration
- name: Upload coverage to Codecov - name: Upload coverage to Codecov
uses: codecov/codecov-action@v2 uses: codecov/codecov-action@v2
with: with:

View File

@ -17,7 +17,7 @@
"eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'", "eslint": "eslint --max-warnings=0 './**/*.{js,jsx}'",
"eslint:fix": "eslint --fix './**/*.{js,jsx}'", "eslint:fix": "eslint --fix './**/*.{js,jsx}'",
"test:unit": "jest --verbose", "test:unit": "jest --verbose",
"test:integration": "cd playground && jest --verbose", "test:integration": "cd playground && node_modules/.bin/jest --verbose",
"plugin:install": "yarn install && rm -rf node_modules/@strapi/helper-plugin", "plugin:install": "yarn install && rm -rf node_modules/@strapi/helper-plugin",
"playground:install": "cd playground && yarn install", "playground:install": "cd playground && yarn install",
"playground:build": "cd playground && yarn build", "playground:build": "cd playground && yarn build",