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
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
I've been trying to get the Hello.test.tsx to work, but I keep getting the following error:
➜ sparks npm run test
> [email protected] test /Users/erick/Documents/Code/Sparks/sparks
> react-scripts-ts test --env=jsdom
Out of the box, Create React App only supports overriding these Jest options:
• collectCoverageFrom
• coverageReporters
• coverageThreshold
• snapshotSerializers.
These options in your package.json Jest configuration are not currently supported by Create React App:
• transform
• testRegex
• moduleFileExtensions
If you wish to override other Jest options, you need to eject from the default setup. You can do so by running npm run eject but remember that this is a one-way operation. You may also file an issue with Create React App to discuss supporting more options out of the box.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `react-scripts-ts test --env=jsdom`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/erick/.npm/_logs/2017-11-03T17_22_19_348Z-debug.log
I've tried clearing everything out of my node_modules, and reinstalling everything, but nothing seems to work.
Thoughts?
The text was updated successfully, but these errors were encountered:
I've been trying to get the Hello.test.tsx to work, but I keep getting the following error:
I've tried clearing everything out of my node_modules, and reinstalling everything, but nothing seems to work.
Thoughts?
The text was updated successfully, but these errors were encountered: