Switches from TAP to vitest and replaces sinon for vitest mocking
TAP was simply way too slow clocking in at around 28 sec (see below), whereas vitest runs in just over 5 sec for the full suite. vitest also has much better editor integration (last image) with seamless debugging
Note: the way that tests are aggregated does differ, but all tests have been ported
What does this PR do?
Switches from TAP to vitest and replaces sinon for vitest mocking
TAP was simply way too slow clocking in at around 28 sec (see below), whereas vitest runs in just over 5 sec for the full suite. vitest also has much better editor integration (last image) with seamless debugging
Note: the way that tests are aggregated does differ, but all tests have been ported
How should this be manually tested?
npm run test
Screenshots
Old, slow test run with TAP 🐢
New, fast test run with vitest! 🚀
Editor integration