Replies: 1 comment 1 reply
-
I'm not a maintainer of this library, however my general take on it is the following Chai allows for more flexibility. Chai rusn in both the browser and node environments, so if for instance vitest expanded to have browser testing (like say, via playwright or puppeteer) as an environment, you don't have to make deep changes to the That's my "hot" take on it anyway. Chai is simply got more flexibility. |
Beta Was this translation helpful? Give feedback.
-
Currently I am migrating some tests from jest to vitest. Some tests still fail because vitest does not reimplement the behavior of jest exactly. As I tried to figure out how to fix these issues, I wondered why vitest does not use the standalone library
expect
which seem to be a standalone package of jests expect function. I think this could reduce the risk of incompatibilities.Beta Was this translation helpful? Give feedback.
All reactions