Next Steps

Generating Code Coverage Report

Add a new scripts in package.json:

package.json
json
{
...
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:ci": "react-scripts test --coverage --ci --watchAll=false",
"eject": "react-scripts eject",
"start:docs": "styleguidist server",
"build:docs": "styleguidist build"
}
...
}
package.json
json
{
...
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:ci": "react-scripts test --coverage --ci --watchAll=false",
"eject": "react-scripts eject",
"start:docs": "styleguidist server",
"build:docs": "styleguidist build"
}
...
}