-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetchMock Import failed & can't run test suite with ts-jest #501
Comments
Try using |
@wheresrhys
|
Sorry, "Emmit skipped" error is same for jest-fetch-mock setup |
@wheresrhys I don't understand how to configure fetchMock from 'fetch-mock-jest' with minimal code for typescript tests: wheresrhys/fetch-mock-jest#6 |
@wheresrhys I run tests by |
Could you please share a repo that recreates the issue. It'll really help isolate if this is a fetch-mock, fetch-mock-jest, jest or ts issue |
@wheresrhys |
Please try v9 of this library and reopen the issue if it's still broken |
fetch-mock 8.3.1
jest: 24.9.0
ts-jest: 24.3.0
Using
npm run test
with jest config:nothing about fetch in jest setup scripts
My test file for code with default modern browser fetch:
Test suite failed to run with error:
Trying but isn't working too:
The text was updated successfully, but these errors were encountered: