You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
I would like to manual mock a JSON file I'm using:
When I try to run my testsuite, I get the
SyntaxError: Unexpected token :
on the first key-pair value when the JSON is imported.To Reproduce
Manual-mock a JSON file.
Expected behavior
Manual mocks should allow JSON files.
Link to repl or repo (highly encouraged)
https://repl.it/@freesteph/JSON-manual-mock-failure
Run
npx envinfo --preset jest
Paste the results here:
The text was updated successfully, but these errors were encountered: