Skip to content

Commit

Permalink
Report test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Feb 14, 2024
1 parent 783e425 commit 0857751
Show file tree
Hide file tree
Showing 13 changed files with 2,170 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
annotations: none
test-script: npm run test-coverage
test-script: npm run test:coverage
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
pnpm-lock.yaml
package-lock.json
yarn.lock

public/
201 changes: 188 additions & 13 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@storybook/sveltekit": "^7.6.10",
"@storybook/testing-library": "^0.2.2",
"@types/lucene": "^2.1.7",
"@vitest/coverage-v8": "^1.2.2",
"chromatic": "^9.1.0",
"eslint": "^7.32.0",
"msw": "^1.2.3",
Expand All @@ -73,9 +74,11 @@
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"test": "npm run test:browser && npm run test:unit",
"test": "npm run test:unit && npm run test:browser",
"test:browser": "playwright test",
"test:unit": "vitest run",
"test:watch": "vitest watch",
"test:coverage": "vitest run --coverage",
"format": "prettier --write .",
"format:check": "prettier --check src",
"build-storybook": "storybook build",
Expand Down
Loading

0 comments on commit 0857751

Please sign in to comment.