ioredis icon indicating copy to clipboard operation
ioredis copied to clipboard

Migrate from mocha to Jest

Open luin opened this issue 2 years ago • 1 comments

Jest seems to be more popular than mocha and the API is nicer to work with.

luin avatar Jan 25 '23 16:01 luin

Jest has many issues related to ESM. I can recommend vitest as a Jest replacement, its API is almost completely compatible with Jest, see migration docs. I guess the only downside to vitest is that it brings the vite dependency which is heavyweight.

silverwind avatar Feb 10 '23 14:02 silverwind