Closed jasikpark closed 2 years ago
Hmmmm, it looks like Mock
is the replacement for SpyInstanceFn
: https://github.com/vitest-dev/vitest/pull/1525#issuecomment-1163602304. Mind updating that here?
Also, I think we should add a peerDependencies
on vitest >= 0.16.0
.
done
Oops this needs to have a peer dependency of > 0.16 not 0.16 - 0.17
Fixed in 0.2.1.
Fixes #2
This upgrades to vitest 0.17.0, fixes the SpyFunction type and removes the usage of done() callbacks in favor of promises in api.test.js (vitest was complaining)