Skip to content

Commit

Permalink
chore(test): add coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienZ committed Sep 3, 2024
1 parent 53745d2 commit e113602
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
run: npm run lint

- name: Test
run: npm run test
run: npm run test:coverage
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint .",
"test": "NUXT_SESSION_PASSWORD='7kP@G!hYvZ2#pL1mQx%3vU8c&RwT4oAs9bFnD#' vitest run",
"test:coverage": "pnpm test -- --coverage",
"test:watch": "vitest watch",
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"
},
Expand All @@ -44,6 +45,7 @@
"@nuxt/schema": "^3.13.0",
"@nuxt/test-utils": "^3.14.1",
"@types/node": "^20.16.3",
"@vitest/coverage-v8": "^2.0.5",
"better-sqlite3": "^11.2.1",
"changelogen": "^0.5.5",
"eslint": "^9.9.1",
Expand Down
97 changes: 97 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e113602

Please sign in to comment.