Repository navigation
Conversation
Under sh, `test/**/*.test.ts` matches only the files one folder down. So `npm test`, which CI runs on every Node version in the matrix, did not run test/connection-string.test.ts. Only the coverage job ran it. Add `test/*.test.ts`, as test:coverage already does. Keep both patterns as shell globs, because Node 20 does not expand a quoted glob in --test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
npm testnow runstest/connection-string.test.ts. Before, it ran 53 of the 70 tests on every Node version in CI. Only the coverage job ran all 70.Changes
npm testadds thetest/*.test.tspattern, astest:coveragealready does. Under sh,test/**/*.test.tsmatches only the files one folder down, so it skipped the top-level test file.--test.Testing
npm testandnpm run test:workflowunder dash, sh and zsh on Node 20, 22, 24 and 26. Each run gives 70 tests from 4 files, and each file runs once. Before, dash and sh gave 53 tests from 3 files.mastershows 53 tests for each matrix version and 70 for the coverage job.The commit type is
test, so this does not cut a release.🤖 Generated with Claude Code