Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move from mocha to node:test #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

refactor: move from mocha to node:test #7

wants to merge 6 commits into from

Conversation

azu
Copy link
Owner

@azu azu commented Jan 12, 2025

BREAKING CHANGES

  • Require Node.js 22+

CHANGES

  • Use node:test instead of mocha because node --test is supported since v20.0.0
  • Update to Node. 22+
  • Use node --experimental-strip-types instead of ts-node since Node v22.6.0 (Current)
  • Use node --run instead of {npm,yarn,pnpm} run since Node.js 22
  • Remove CommonJS build because require(esm) is supported since Node v22.12.0 (LTS)

TODO

  • how to type check test code? -> Add test:build

Sorry, something went wrong.

azu added 6 commits January 12, 2025 09:09

Verified

This commit was signed with the committer’s verified signature.
azu azu

Verified

This commit was signed with the committer’s verified signature.
azu azu
fix

Verified

This commit was signed with the committer’s verified signature.
azu azu

Verified

This commit was signed with the committer’s verified signature.
azu azu

Verified

This commit was signed with the committer’s verified signature.
azu azu

Verified

This commit was signed with the committer’s verified signature.
azu azu
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.

None yet

1 participant