Hi there, I’ve created a rescript-vitest
package by porting the existing rescript-jest
package of @glennsl.
https://github.com/greenfinity/rescript-vitest
Motivation
I am aware that there is already a rescript-vitest repository. However, I wanted to create a library with the same bindings as rescript-jest
, to make it easier to migrate existing tests from Jest to Vitest.
I also appreciate the bindings provided by rescript-jest
, particularly because each test concludes with a single assertion, which I find more suitable for functional programming.
The code is approximately as stable as rescript-jest
, since it’s mostly copy-paste. I was able to convert the tests of a fairly large project of mine within a few minutes.