At the time when I wrote the library, only the uvu npm package was available as test runner with good ESM compatibility. With version 4 we can also use ava, which is much more established, plus it has snapshot testing which will be very useful for github-project
At the time when I wrote the library, only the
uvu
npm package was available as test runner with good ESM compatibility. With version 4 we can also useava
, which is much more established, plus it has snapshot testing which will be very useful forgithub-project
Instead of using the
uvu/assert
module for assertions, we will have to useava
's assertions, as documented here: https://github.com/avajs/ava/blob/main/docs/03-assertions.mdSee https://github.com/gr2m/github-project/pull/29 as reference to the same migration