This patch introduces infrastructure to test our WASM JS using https://vitest.dev/.
For now, it just configures everything and introduces a stubbed test file with a simple assertion.
Vitest looked simple, widely recommended, and easy to use to me, but the only JS testing framework that I've personally used is mochitest in the Mozilla Unified code.
If people have preferences of what we should use here, I'm happy to switch, and I'd rather do so sooner than later.
This patch introduces infrastructure to test our WASM JS using https://vitest.dev/.
For now, it just configures everything and introduces a stubbed test file with a simple assertion.
Vitest looked simple, widely recommended, and easy to use to me, but the only JS testing framework that I've personally used is
mochitest
in the Mozilla Unified code.If people have preferences of what we should use here, I'm happy to switch, and I'd rather do so sooner than later.