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

Tentative Vitest #2711

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

Tentative Vitest #2711

wants to merge 14 commits into from

Conversation

jycouet
Copy link

@jycouet jycouet commented Mar 11, 2025

In order to have #2706 we probably need to go to vitest and manage well ESM.

Also linked with this issue: #2031


Just started small to see if it's the good direction.
svelte2tsx test script is calling mocha & vitest and when tests are ok in vitest, I skip them in mocha.
So that the diff is approachable.

What do you think ?

@dummdidumm
Copy link
Member

Don't fully understand the skip thing - I don't have any opinion on how you wanna approach this, the end result of using Vitest instead of Mocha to run the tests (without adjusting any of the tests, ideally) is what counts.

@jycouet
Copy link
Author

jycouet commented Mar 11, 2025

Forget about the skip thing 😅

Here is what I have locally atm:
image

The 346 are green! 🎉

@dummdidumm
Copy link
Member

dummdidumm commented Mar 19, 2025

Thank you for tackling this!
Seems like this for some reason made the language server tests fail

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