Skip to content

fix(root): wire per-package test scripts to root vitest projects#70

Merged
oorabona merged 1 commit into
mainfrom
fix/per-package-test-scripts
Jun 11, 2026
Merged

fix(root): wire per-package test scripts to root vitest projects#70
oorabona merged 1 commit into
mainfrom
fix/per-package-test-scripts

Conversation

@oorabona

Copy link
Copy Markdown
Collaborator

Closes #65

Summary

pnpm -F @termora/<pkg> test used to be a silent no-op (exit 0, nothing ran): no workspace package had a test script, and pnpm filtered runs treat a missing script as nothing-to-do — automated verification got a false green from it. Each package now has "test": "pnpm -w exec vitest run --project <name>" wired to its named project in the root vitest config, so the documented per-package command actually runs the package's suite.

Test plan

  • All four scripts verified to RUN tests (evidence, not just exit codes): hub 1470 tests / web 810 / shared 231 / desktop 29 — all green
  • Root pnpm test:run unchanged (full suite)

Each workspace package now has a `test` script wired to its named
project in the root vitest config. This fixes silent no-op behavior
where `pnpm -F @termora/<pkg> test` would exit 0 without running any
tests. Fixes #65.
@oorabona oorabona merged commit 8d30343 into main Jun 11, 2026
8 checks passed
@oorabona oorabona deleted the fix/per-package-test-scripts branch June 11, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dx: pnpm -F @termora/<pkg> test is a silent no-op (no per-package test script)

1 participant