Skip to content

Commit

Permalink
test(vitest): added setup
Browse files Browse the repository at this point in the history
Closes #143

Signed-off-by: Lukas Mertens <[email protected]>

commit-id:bca4b2b0
  • Loading branch information
lukas-mertens committed Apr 23, 2024
1 parent 3012321 commit d8795f9
Show file tree
Hide file tree
Showing 4 changed files with 491 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ pnpm-debug.log*
# cypress
cypress/videos
cypress/screenshots

# schemas
/public/schemas/*.json

# vitest
/coverage
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build": "vite build -c vite.config.ts",
"build:pages": "vite build -c vite.config.ts --mode pages",
"dev": "vite -c vite.config.ts",
"lint": "eslint --ignore-path .gitignore ."
"lint": "eslint --ignore-path .gitignore .",
"test": "vitest",
"test:coverage": "vitest --coverage.enabled true"
},
"type": "module",
"dependencies": {
Expand Down Expand Up @@ -47,6 +49,7 @@
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitejs/plugin-vue": "^4.5.0",
"@vitest/coverage-v8": "^1.5.0",
"@vue/eslint-config-typescript": "^13.0.0",
"cypress": "^13.7.1",
"eslint": "^8.57.0",
Expand All @@ -57,6 +60,7 @@
"vite": "^5.0.11",
"vite-plugin-pwa": "^0.19.2",
"vite-plugin-vuetify": "^2.0.1",
"vitest": "^1.5.0",
"vue-eslint-parser": "^9.4.2",
"vue-tsc": "^1.8.0"
}
Expand Down
Loading

0 comments on commit d8795f9

Please sign in to comment.