You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for this to work with jest, jest needs to know about some libraries specifically not to be mocked. It'd be nice if you could document this somewhere. This is specifically what I had to do to get tests running:
@blainekasten this is great. I have a PR out that i'm going to be adding some documentation stuff to. There will end up being a "guides" section, where there is a guide for working with various different environments (of which, jest will be one). This will be very helpful to add to that!
In order for this to work with jest, jest needs to know about some libraries specifically not to be mocked. It'd be nice if you could document this somewhere. This is specifically what I had to do to get tests running:
/package.json
This is an exhaustive list of needed items
dep of cheerio, needed for render method
dep of htmlparser2, from cheerio
The text was updated successfully, but these errors were encountered: