Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Consider using Jest instead of Ava #635

Closed
okonet opened this issue Dec 19, 2017 · 2 comments
Closed

Consider using Jest instead of Ava #635

okonet opened this issue Dec 19, 2017 · 2 comments

Comments

@okonet
Copy link
Contributor

okonet commented Dec 19, 2017

Ava is awesome but I think Jest offers so much more out of the box. Particularly I wanted to write a test for a fix of #632 but this seems not possible without pulling in at least 2 additional dependencies for 1. mocking and stubbing (sinon?) and 2. for hijacking the node require in order to mock the Jest APIs. With Jest that would not require any additional dependencies.

Thoughts?

@eliperelman
Copy link
Member

I am totally open to using whatever improves our testing situation. I think at the time I used AVA because it was fast, and Jest wasn't really a thing I knew could be used outside React. But yeah, I'm totally open to it.

@eliperelman
Copy link
Member

As an aside, AVA now supports snapshot testing.

@edmorley edmorley closed this as completed Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants