diff --git a/package.json b/package.json index 66ea83b..dd854b0 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "start": "export HTTPS=true && export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts start", "build": "export COMMIT_SHA=$(git rev-parse --short HEAD) && react-scripts build", "test": "react-scripts test", + "test:coverage": "react-scripts test --coverage .", "eject": "react-scripts eject", "lint": "eslint --ext js,jsx,ts,tsx src/ && prettier --check src/", "prepare": "husky install" @@ -73,6 +74,9 @@ "prettier --write" ] }, + "jest": { + "coverageReporters": ["text", "html"] + }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/parser": "^5.61.0",