The test runner has a built-in code coverage feature. □. Add the --coverage flag to the npm test script. "test": "react-scripts test –coverage",.
確定! 回上一頁