Skip to content

chore: replace vitest with bun:test to reduce dependencies - #12

Open
myakura wants to merge 3 commits into
textlint:mainfrom
myakura:migrate-to-bun-test
Open

chore: replace vitest with bun:test to reduce dependencies#12
myakura wants to merge 3 commits into
textlint:mainfrom
myakura:migrate-to-bun-test

Conversation

@myakura

@myakura myakura commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • bun:test provides the same describe/it/expect API as vitest and works as a drop-in replacement
  • Since the project already uses Bun for installing, building, and running scripts, vitest is an unnecessary external dependency
  • Removes vitest from devDependencies and switches the test script to bun test

Test plan

  • All 7 existing tests pass with bun test
  • No changes to test logic or fixtures

🤖 Generated with Claude Code

@myakura
myakura force-pushed the migrate-to-bun-test branch from 6435517 to b4bc324 Compare March 17, 2026 03:44
bun:test provides the same describe/it/expect API as vitest and works
as a drop-in replacement, removing the need for an external test
framework in a project already using Bun for everything else.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@myakura
myakura force-pushed the migrate-to-bun-test branch from b4bc324 to eaceae9 Compare March 17, 2026 03:58
myakura and others added 2 commits March 17, 2026 13:00
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@myakura

myakura commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Hi @3w36zj6, just a gentle follow-up — whenever you have a moment, could you please take a look at this PR? I've also opened #13 and, more recently, #20 if you're able to review those as well. No rush at all, thank you for maintaining this project!

@3w36zj6

3w36zj6 commented Aug 10, 2026

Copy link
Copy Markdown
Member

At least from my perspective, Vitest has not caused any issues in this project, so I don't see a compelling reason to replace this mature and actively maintained test framework.

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