Skip to content

Comments

Switch from vitest to native node test runner#52

Merged
mourner merged 3 commits intomainfrom
modernize-dev-deps
Nov 12, 2025
Merged

Switch from vitest to native node test runner#52
mourner merged 3 commits intomainfrom
modernize-dev-deps

Conversation

@mourner
Copy link
Member

@mourner mourner commented Nov 11, 2025

This is a very simple, lightweight project, so there's no need for complicated test runners such as Vitest. This PR drops Vitest in favor of native Node test runner and assertions, as well as test coverage. It also takes advantage of Node's native type stripping, which is enabled by default on v22+ (current LTS). 2.4k lines gone from package-lock 🎉

@mourner mourner requested a review from greenlaw November 11, 2025 09:14
Copy link
Contributor

@greenlaw greenlaw left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@mourner mourner merged commit a22ef36 into main Nov 12, 2025
4 checks passed
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