Add test commands for running and coverage#26
Conversation
|
🟡 Dagryn workflow RUNNING
|
|
🟡 Dagryn workflow RUNNING
|
|
🟡 Dagryn workflow RUNNING
|
|
🟡 Dagryn workflow RUNNING
|
|
❌ Dagryn workflow FAILED
|
|
❌ Dagryn workflow FAILED
|
|
❌ Dagryn workflow FAILED
|
|
❌ Dagryn workflow FAILED
|
There was a problem hiding this comment.
Pull request overview
Adds explicit frontend test scripts for non-watch execution and coverage collection to standardize local/CI usage.
Changes:
- Add
test:runscript (vitest run) for one-shot test execution - Add
test:coveragescript (vitest run --coverage) for coverage runs - Remove the previous
coveragescript name
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "test": "vitest", | ||
| "coverage": "vitest run --coverage" | ||
| "test:run": "vitest run", | ||
| "test:coverage": "vitest run --coverage" |
There was a problem hiding this comment.
test:coverage runs vitest run --coverage, but this repo doesn’t include a Vitest coverage provider (e.g. @vitest/coverage-v8 or @vitest/coverage-istanbul) in dependencies/lockfile. As-is, this script will fail when executed; add an appropriate @vitest/coverage-* devDependency (and configure Vitest if needed) so the command works.
Description
[Provide a brief description of the changes in this pull request]
Related Issue
[If applicable, link to the issue this PR addresses]
Type of Change
Checklist
Additional Notes
[Add any additional information or context about the PR here]