feat(test): added e2e tests

This commit is contained in:
Corentin Thomasset 2023-04-09 17:59:57 +02:00 committed by Corentin THOMASSET
parent ebfdb64fde
commit ec7cb9351c
11 changed files with 245 additions and 5 deletions

View file

@ -25,6 +25,7 @@
"preview": "vite preview --port 5050",
"test": "npm run test:unit",
"test:unit": "vitest --environment jsdom",
"test:e2e": "playwright test",
"coverage": "vitest run --coverage",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
@ -75,6 +76,7 @@
"vue-router": "^4.1.6"
},
"devDependencies": {
"@playwright/test": "^1.32.2",
"@rushstack/eslint-patch": "^1.2.0",
"@types/bcryptjs": "^2.4.2",
"@types/crypto-js": "^4.1.1",