Description
Steps:
- create a fresh app
- anywhere inside
App.js, add the following code
function* test() {
yield ((a) => 42)
}
- run
npm run test => works
- run
npm run test -- --coverage => crashes
Expected behavior
This syntax is valid js, it works in the browser and with tests without coverage so I expect it to work with coverage activated
Actual behavior
This error is thrown:

Environment
npm ls react-scripts
test@0.1.0 /Users/gael/Desktop/test
└── react-scripts@0.8.1
node -v:
npm -v:
- Operating system: OSX 10.12.1
- Browser and version: N/A
I guess this is a Jest issue, so I ping @cpojer ?
Description
Steps:
App.js, add the following codenpm run test=> worksnpm run test -- --coverage=> crashesExpected behavior
This syntax is valid js, it works in the browser and with tests without coverage so I expect it to work with coverage activated
Actual behavior
This error is thrown:

Environment
npm ls react-scriptsnode -v:npm -v:I guess this is a Jest issue, so I ping @cpojer ?