RobLoach / node-raylib

Node.js bindings for Raylib
https://robloach.github.io/node-raylib/
Other
233 stars 20 forks source link

update to vitest #170

Closed konsumer closed 1 year ago

konsumer commented 1 year ago

I was having problem with old version of jest requiring an older version of node.

This switches from jest to vitest, which is faster, more modern, and has a bunch of other features. It also adds a nice watching web UI (npm run test:watch) which is great if you like to build features in parallel with unit-tests. It can also do other handy things I didn't enable, like coverage-reports.

Screenshot_2023-03-25_at_3 35 29_PM

konsumer commented 1 year ago

Knowing 15 tests passed is good, but would be nice to see the full report.

There is an option for that. I will add it.

konsumer commented 1 year ago

Ok, added. It actually has a few reporting-styles, so it can work in other systems, and you can even make your own reporter!

Screenshot 2023-03-26 at 12 21 06 PM
RobLoach commented 1 year ago

Wooooo