mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
fix(test): passWithNoTests on vitest scripts
Porting vitest configs to develop triggered the test+coverage job to fail with 'No test files found, exiting with code 1' because develop has zero test files (tag had 41; develop removed them). Minimal fix: --passWithNoTests on the two scripts ci.yml invokes (test, coverage). Pre-existing test failure in the suite (when tests exist) is out of scope. Refs: archive/rebuild @ a31ea517
This commit is contained in:
parent
4aa1313d49
commit
679478e513
1 changed files with 2 additions and 2 deletions
|
|
@ -20,10 +20,10 @@
|
|||
"lint:fix": "eslint . --fix && prettier --write --list-different .",
|
||||
"format:check": "prettier --check .",
|
||||
"test:e2e": "playwright test",
|
||||
"test": "vitest run",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:changed": "vitest run --changed",
|
||||
"test:watch": "vitest",
|
||||
"coverage": "vitest run --coverage",
|
||||
"coverage": "vitest run --coverage --passWithNoTests",
|
||||
"coverage:type": "NODE_OPTIONS=\"--max-old-space-size=8192\" type-coverage --strict --cache --ignore-nested --ignore-catch",
|
||||
"prepare": "husky",
|
||||
"lint-staged": "lint-staged"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue