Rhys Evans

Results 67 comments of Rhys Evans

Useful? https://github.com/davidbailey00/deno-npm-demo

Thanks for the fix. I'm gonna try to figure out exactly why it was failing before merging in order to lessen the risk of unintended side effects. I also want...

I've added jest@26 to the build pipeline and the test spass on master. Are you able to set up a reduced test case illustrating the situation when things are breaking...

Is the test running in the browser? Or in a browser-like environment (e.g. JSDom) and mocking the `fetch` global? `.sandbox()` isn't meant to be used in that case. I'll probably...

I don't really have at the moment to set up a full environment to replicate. If you could create a minimal test case repo I could clone (or are able...

Weird - pin fetch-mock to 9.9.0 for now and hopefully that will work. I'll investigate the failure today

try latest fetch-mock & fetch-mock-jest and reopen if still an issue

Can you create a repo with a reduced test case so I can investigate further please.

Or maybe a pattern like `require('fetch-mock-jest').inject(jest.fn())` Which sets up the mockImplementation etc Which then may as well always be assumed on the import ```js jest.mock('node-fetch', require('fetch-mock-jest')) const fetch = require('node-fetch');...