octokit / octokit-next.js

MIT License
21 stars 3 forks source link

replace `uvu` with `ava` #73

Closed gr2m closed 2 years ago

gr2m commented 2 years ago

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

Instead of using the uvu/assert module for assertions, we will have to use ava's assertions, as documented here: https://github.com/avajs/ava/blob/main/docs/03-assertions.md

See https://github.com/gr2m/github-project/pull/29 as reference to the same migration

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 2.3.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: