Skip to content

Conversation

@NefixEstrada
Copy link

@NefixEstrada NefixEstrada commented Nov 8, 2025

This closes #1883

There are 3 tests that now fail. Other than the performance one, I'm not sure the others are ok, maybe they were already failing? They're marked with a TODO.
I wasn't able to run the tests using karma

Please, let me know if there's something that I'm missing!

@CendioOssman
Copy link
Member

This is a bit more than just replacing Karma, if I understand things correctly. This also replaces Mocha, Chai and Sinon with vitest?

That requires a bit more consideration if we want to replace all of those familiar components and become fully dependent on a single one.

@NefixEstrada
Copy link
Author

Yes, this would change all the tecnologies to vitest. However:

  • Mocha: the syntax is 100% supported, meaning no change for the developer
  • Chai: the majority the syntax (assertions) is supported (and the unsupported ones change very little)

There's a comparison in the vitest docs: https://vitest.dev/guide/comparisons.html#mocha

Let me know if there's anything I can do!

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.

Karma is deprecated

2 participants