Skip to content

fix(test): ensure npm test discovers suite - #35

Merged
rogerchappel merged 2 commits into
mainfrom
agent/oss-b319ccefff1f-test-discovery
Oct 9, 2026
Merged

rogerchappel merged 2 commits into
mainfrom
agent/oss-b319ccefff1f-test-discovery

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

Fix the npm test glob so it locates compiled files under dist/test/. Add a discovery guard that fails if the configured test command succeeds without running tests.

Commits:

  • 67b10b9 fix(test): discover compiled test files — point npm test to compiled test output.
  • 7c89ff1 test: guard against empty test discovery — add an executable empty-discovery check.

Files: package.json, scripts/check-test-discovery.mjs.

Verification

  • npm run test:discovery — passed; discovered 28 tests.
  • npm run check — passed.
  • npm run build — passed.
  • git diff --check — passed.
  • npm test — passed; 28 tests.

Manual review: confirmed the release workflow is tag-triggered only; a branch push and draft PR cannot publish or deploy.

Risk Level

  • Low

Rollback Plan

Revert the two commits.

Human Decision Needed

  • Maintainer review

@rogerchappel
rogerchappel marked this pull request as ready for review October 5, 2026 12:39
@rogerchappel
rogerchappel enabled auto-merge (rebase) October 5, 2026 12:39
@rogerchappel
rogerchappel merged commit 1d88a6e into main Oct 9, 2026
2 checks passed
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.

1 participant