Skip to content

Commit

Permalink
Separated test and test with coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Jan 15, 2025
1 parent 009d0a6 commit 2117e5a
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: "Run tests"
run: |
npm run test:backend
npm run test-coverage:backend
- name: "Upload coverage results"
uses: codecov/[email protected]
Expand Down
181 changes: 181 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"@types/google-apps-script": "^1.0.91",
"@types/google.script.client-side": "^0.1.5",
"@types/node": "^22.10.2",
"@vitest/coverage-v8": "^2.1.8",
"@vitest/eslint-plugin": "^1.1.25",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
Expand Down Expand Up @@ -76,7 +77,7 @@
"start": "vite --config frontend.vite.config.ts",
"test:backend": "vitest --config backend.vite.config.ts",
"test:frontend": "nyc --reporter=lcov playwright test",
"test": "run-p -c test:*",
"test-coverage:backend": "vitest run --coverage --config backend.vite.config.ts",
"playwright-interactive": "playwright test --ui"
}
}

0 comments on commit 2117e5a

Please sign in to comment.