Skip to content

chore: switch to pnpm and native node test#17

Merged
marcolink merged 1 commit into
mainfrom
chore/update-to-pnpm-and-switch-to-node-native-test
Dec 5, 2025
Merged

chore: switch to pnpm and native node test#17
marcolink merged 1 commit into
mainfrom
chore/update-to-pnpm-and-switch-to-node-native-test

Conversation

@marcolink
Copy link
Copy Markdown
Owner

No description provided.

@marcolink marcolink force-pushed the chore/update-to-pnpm-and-switch-to-node-native-test branch 3 times, most recently from af31767 to 59435cb Compare December 5, 2025 07:54
@marcolink marcolink marked this pull request as draft December 5, 2025 07:57
@marcolink marcolink force-pushed the chore/update-to-pnpm-and-switch-to-node-native-test branch from 59435cb to 094601c Compare December 5, 2025 08:35
@marcolink marcolink requested a review from Copilot December 5, 2025 08:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:test and node: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 marcolink force-pushed the chore/update-to-pnpm-and-switch-to-node-native-test branch from 094601c to dbc6671 Compare December 5, 2025 11:09
@marcolink marcolink marked this pull request as ready for review December 5, 2025 11:09
@marcolink marcolink merged commit 2b2268e into main Dec 5, 2025
2 checks passed
@marcolink marcolink deleted the chore/update-to-pnpm-and-switch-to-node-native-test branch December 5, 2025 11:11
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.

2 participants