Skip to content

Conversation

@nclsndr
Copy link
Contributor

@nclsndr nclsndr commented Oct 24, 2025

What does it do?

Migrate Jest to Vitest.
Change package.json script name: test:cov -> test:coverage

Why is it needed?

Future proofing the codebase with very little implementation overhead.

How to test it?

pnpm run test
pnpm run test:coverage

@nclsndr nclsndr force-pushed the chore/migrate-to-vitest branch from 5d0bf08 to eff311f Compare October 24, 2025 14:39
@nclsndr nclsndr self-assigned this Oct 24, 2025
@nclsndr nclsndr added pr: chore Cleanups / dependencies / tooling / styling pr: enhancement Refactorings / perfs / testing / translations labels Oct 24, 2025
@nclsndr
Copy link
Contributor Author

nclsndr commented Oct 24, 2025

Perf improvements:

Jest

Test Suites: 23 passed, 23 total
Tests:       336 passed, 336 total
Snapshots:   0 total
Time:        9.204 s

Source

Vitest

 Test Files  23 passed (23)
      Tests  333 passed (333)
   Start at  14:41:49
   Duration  2.60s (transform 1.11s, setup 0ms, collect 3.10s, tests 708ms, environment 5ms, prepare 173ms)

Source

@nclsndr nclsndr marked this pull request as ready for review October 24, 2025 14:47
@nclsndr nclsndr force-pushed the chore/migrate-to-vitest branch from eff311f to 454b118 Compare October 28, 2025 15:54
@nclsndr nclsndr changed the base branch from main to feat/single-types-plugin October 28, 2025 15:55
@nclsndr nclsndr force-pushed the chore/migrate-to-vitest branch from 454b118 to 1d2ebf4 Compare October 28, 2025 15:55
@nclsndr
Copy link
Contributor Author

nclsndr commented Oct 28, 2025

Waiting for #106 to merge first

Base automatically changed from feat/single-types-plugin to main October 31, 2025 15:38
fix: adapt to rebased plugin arg fixes
@nclsndr nclsndr force-pushed the chore/migrate-to-vitest branch from 1d2ebf4 to c0392ec Compare October 31, 2025 15:39
@nclsndr nclsndr merged commit 52f8f96 into main Oct 31, 2025
7 checks passed
@nclsndr nclsndr deleted the chore/migrate-to-vitest branch October 31, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: chore Cleanups / dependencies / tooling / styling pr: enhancement Refactorings / perfs / testing / translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants