Skip to content

test: limit npm test to test files - #30

Draft
johnjheejin wants to merge 1 commit into
companyjupiter:mainfrom
johnjheejin:test/limit-test-discovery
Draft

test: limit npm test to test files#30
johnjheejin wants to merge 1 commit into
companyjupiter:mainfrom
johnjheejin:test/limit-test-discovery

Conversation

@johnjheejin

Copy link
Copy Markdown

Summary

  • limit npm test discovery to test/**/*.test.mjs
  • stop configuration examples named *_test.mjs from being counted as test files

Root cause

The bare node --test command used default discovery rules, which also matched four configuration examples under configs/.

User impact

Test output now reports only the actual automated test suite and no longer executes configuration examples as test modules.

Validation

  • npm test (5 tests passed)
  • node --check quarkify.mjs
  • git diff --check

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