Skip to content

What is the best library for mocking dependencies compatible with AVA? #2727

Discussion options

You must be logged in to vote

Anything that works with Node.js is compatible with AVA.

I don't find myself needing to mock dependencies very often, and I think it's something best avoided, but I can't speak to your code.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@arturtamborski
Comment options

@phishy
Comment options

@novemberborn
Comment options

@bn-l
Comment options

@novemberborn
Comment options

Answer selected by arturtamborski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants