Skip to content

Fix Node test discovery#1

Merged
Hhh2178 merged 1 commit into
mainfrom
agent/fix-node-test-command
Jul 10, 2026
Merged

Fix Node test discovery#1
Hhh2178 merged 1 commit into
mainfrom
agent/fix-node-test-command

Conversation

@Hhh2178

@Hhh2178 Hhh2178 commented Jul 10, 2026

Copy link
Copy Markdown
Owner

What changed

  • Update the test script to explicitly run tests/*.test.mjs.
  • Add the required daily work log for the fix.

Root cause

node --test tests treats tests as a module path in the affected Node.js environment instead of discovering the test files inside that directory, causing MODULE_NOT_FOUND.

Impact

npm test and the GitHub Actions test job now execute the repository's nine Node built-in tests correctly.

Validation

  • npm run harness:verify:project
  • npm run type-check
  • npm test — 9 passed, 0 failed
  • git diff --check

@Hhh2178 Hhh2178 marked this pull request as ready for review July 10, 2026 08:17
@Hhh2178 Hhh2178 merged commit f9228d2 into main Jul 10, 2026
1 check 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