Closed timt closed 2 years ago
"jest": "^26.6.3", "jest-fetch-mock": "^3.0.3",
Specifying in jest.config.js: global.fetch = require('jest-fetch-mock');
Call to fetch(...) hang and never return, e.g. no invocation of .then or .catch happening.
I think you're configuration isn't correct. Can you please reread the library setup instructions in the README?
Specifying in jest.config.js: global.fetch = require('jest-fetch-mock');
Call to fetch(...) hang and never return, e.g. no invocation of .then or .catch happening.