fix xypress ci

This commit is contained in:
Andreani Jean
2023-05-11 14:11:44 +02:00
parent 1ab34724d6
commit c1bb8e4c00
2 changed files with 2 additions and 2 deletions

View File

@@ -25,8 +25,7 @@ test:
image: node:18.13.0
script:
- yarn test:unit
- cypress install
- yarn test:e2e
- yarn runHeadless
dependencies:
- install
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/

View File

@@ -13,6 +13,7 @@
"test:unit": "vitest --environment jsdom --root src/",
"test:e2e": "yarn cypress run",
"open:e2e": "yarn cypress run",
"runHeadless": "./node_modules/.bin/cypress run --headless",
"build-only": "vite build",
"deploy": "yarn build && cd ./dist && cp index.html 404.html",
"type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",