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

React-scripts jasmine not found #103

Open
aquacash5 opened this issue May 10, 2021 · 0 comments
Open

React-scripts jasmine not found #103

aquacash5 opened this issue May 10, 2021 · 0 comments

Comments

@aquacash5
Copy link

I am using jasmine-check with my react project. Everything was working fine when I was using react-scripts version 3. However, when I upgrade to version 4 it stops working.

I add it in the setupTests.js file:

import "@testing-library/jest-dom/extend-expect";
import { enableFetchMocks } from "jest-fetch-mock";
import JasmineCheck from "jasmine-check";

enableFetchMocks();
JasmineCheck.install();
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

1 participant