Skip to content

test(ci): fail when workspace test files are orphaned - #654

Open
elfelf2 wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
elfelf2:test/fail-orphaned-test-files
Open

elfelf2 wants to merge 1 commit into
Sub-Rosa-Issue:mainfrom
elfelf2:test/fail-orphaned-test-files

Conversation

@elfelf2

@elfelf2 elfelf2 commented Nov 24, 2026 •

Copy link
Copy Markdown

Summary

  • Add scripts/check-orphaned-tests.mjs to compare tracked workspace *.test.* files with each package scripts.test definition and fail on undocumented orphans.
  • Cover the checker with focused unit tests and document pnpm orphaned-tests:check / pnpm orphaned-tests:test in docs/CI.md.

Closes #530

Test plan

  • pnpm orphaned-tests:check
  • pnpm orphaned-tests:test

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@elfelf2 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

test(high/easy): fail when a test file is excluded from package scripts

2 participants