It should do something like https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-tests-in-chrome, but without all those CLI arguments.
I think I can take on this one.
Just to be clear, this is meant to achieve a state where apps created with create-react-app are able to just declare the following in their package.json file (which should also come pre-defined in the template so users really don't need to do anything for newly created apps):
"scripts": {
"test:debug": "react-scripts debug-test"
}
And that task will perform the exact same thing as the one in the README to which you linked. So all this args are important to be passed, but only internally so users don't need to setup this script line anymore. Is this correct?
Yeah. Or maybe just supporting --debug flag in test command is enough.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs.
Most helpful comment
Yeah. Or maybe just supporting
--debugflag in test command is enough.