-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test issue #2
Comments
Also, here's a thread with some ideas: jestjs/jest#9292 You could try moving the babel config out of package.json to a .babelrc file in your project root (same directory as package.json). |
I tried with moving jest config and babel config out of package.json (same directory as package.json). Node: |
That's a very old version of npm. Can you update to the latest version? |
Thanks @coryhouse I think the issue is due |
All tests pass for me now that I got your latest code. I suggest:
|
No deleting node_modules and reinstalling did not fixed the issue,
|
Fixed the issue by destructuring
The old code (that was failing)
I found the actual issue was in the Thanks once again @coryhouse for your great support and response. |
Hi Arvind - Your tests run for me if I change line 4 in CourseFrom.Snapshot.test.js to this:
import { courses, authors } from "../../../tools/mockData";
If that doesn't fix it, please share this info:
Node version (run node -v to get this)
npm version (run npm -v to get this)
Terminal
Operating system
The text was updated successfully, but these errors were encountered: