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:
John Smith 2026-07-29 19:22:34 -04:00
parent 4aa1313d49
commit 679478e513

View file

@ -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"