Skip to content
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

Cannot read property 'fetch' of undefined when running tests in create-react-app #71

Open
CorwinMoyne opened this issue Feb 21, 2023 · 1 comment

Comments

@CorwinMoyne
Copy link

CorwinMoyne commented Feb 21, 2023

App.test.tsx
image

App.tsx
image

authInterceptor.ts
image

I am using msw/node as a mock server when testing.

@ilyakarevcop
Copy link

@CorwinMoyne I faced the same issue. Did you fix it somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants