chore: switch to pnpm and native node test#17
Merged
marcolink merged 1 commit intoDec 5, 2025
mainmarcolink/generate-json-patch:mainfrom
chore/update-to-pnpm-and-switch-to-node-native-testmarcolink/generate-json-patch:chore/update-to-pnpm-and-switch-to-node-native-testCopy head branch name to clipboard
Merged
chore: switch to pnpm and native node test#17marcolink merged 1 commit intomainmarcolink/generate-json-patch:mainfrom chore/update-to-pnpm-and-switch-to-node-native-testmarcolink/generate-json-patch:chore/update-to-pnpm-and-switch-to-node-native-testCopy head branch name to clipboard
marcolink merged 1 commit into
mainmarcolink/generate-json-patch:mainfrom
chore/update-to-pnpm-and-switch-to-node-native-testmarcolink/generate-json-patch:chore/update-to-pnpm-and-switch-to-node-native-testCopy head branch name to clipboard
Conversation
marcolink
force-pushed
the
chore/update-to-pnpm-and-switch-to-node-native-test
branch
3 times, most recently
from
December 5, 2025 07:54
af31767 to
59435cb
Compare
marcolink
marked this pull request as draft
December 5, 2025 07:57
marcolink
force-pushed
the
chore/update-to-pnpm-and-switch-to-node-native-test
branch
from
December 5, 2025 08:35
59435cb to
094601c
Compare
There was a problem hiding this comment.
Pull request overview
This PR modernizes the project's testing infrastructure by migrating from Mocha/Chai to Node.js native test runner, and switching from npm to pnpm as the package manager.
Key Changes:
- Replaced Mocha/Chai test framework with Node.js native
node:testandnode:assert/strict - Migrated package manager from npm to pnpm
- Updated test descriptions to use active voice instead of "should" statements
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/move-operations.spec.ts | Migrated test imports and assertions from Chai to Node.js native testing APIs; updated test descriptions |
| src/index.ts | Added exports for move operations functions |
| src/index.spec.ts | Converted all test assertions from Chai to Node.js assert; replaced @ts-ignore with @ts-expect-error; renamed shadowing variables |
| package.json | Updated package manager to pnpm; replaced test scripts to use native Node test runner; removed Mocha/Chai dependencies |
| .github/workflows/test.yml | Updated CI to use pnpm and newer action versions; changed Node.js test matrix |
| .github/workflows/semantic-release.yml | Updated release workflow to use pnpm instead of npm |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
marcolink
force-pushed
the
chore/update-to-pnpm-and-switch-to-node-native-test
branch
from
December 5, 2025 11:09
094601c to
dbc6671
Compare
marcolink
marked this pull request as ready for review
December 5, 2025 11:09
marcolink
deleted the
chore/update-to-pnpm-and-switch-to-node-native-test
branch
December 5, 2025 11:11
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.
No description provided.