Skip to content

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Aug 6, 2025

Purpose

Jest has difficulty to test many part of the application, Vitest seems more reliable to do unit testing.
https://vitest.dev/

Proposal

We have migrated the testing framework from Jest to Vitest for the Docs application.
This change includes updates to test files, configuration files, and the addition of new setup files for Vitest.

@AntoLC AntoLC self-assigned this Aug 6, 2025
@AntoLC AntoLC force-pushed the refacto/jest-to-vitest branch from 28da9f3 to ef3da58 Compare August 6, 2025 12:35
@AntoLC AntoLC requested a review from lunika August 6, 2025 13:47
@AntoLC
Copy link
Collaborator Author

AntoLC commented Aug 6, 2025

@StephanMeijer Hi! Maybe you have an opinion about this PR ?

@AntoLC AntoLC linked an issue Aug 6, 2025 that may be closed by this pull request
@StephanMeijer
Copy link
Contributor

@AntoLC Absolute improvement!

AntoLC added 2 commits August 28, 2025 11:11
We have migrated the testing framework from Jest
to Vitest for the Docs application.
This change includes updates to test files,
configuration files, and the addition of new setup
files for Vitest.
Thanks to Vitest we can now assert more complicated
parts of the code without too much mocking.
@AntoLC AntoLC force-pushed the refacto/jest-to-vitest branch from a86aa1c to 64f967c Compare August 28, 2025 09:20
Copy link

Size Change: +6 B (0%)

Total Size: 3.6 MB

compressed-size-action

@AntoLC AntoLC merged commit 64f967c into main Aug 28, 2025
21 of 22 checks passed
@AntoLC AntoLC deleted the refacto/jest-to-vitest branch August 28, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

♻️ Switch test frontend to Vitest
3 participants