Don't instrument for coverage by default unless CI

This commit is contained in:
Alex Corey
2021-02-17 16:09:06 -05:00
committed by Jake McDermott
parent 242c4e2533
commit 9090cb830d
3 changed files with 5 additions and 2 deletions

View File

@@ -58,7 +58,7 @@
"start": "PORT=3001 HTTPS=true DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts start",
"start-instrumented": "DEBUG=instrument-cra PORT=3001 HTTPS=true DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts -r @cypress/instrument-cra start",
"build": "INLINE_RUNTIME_CHUNK=false react-scripts build",
"test": "TZ='UTC' react-scripts test --coverage --watchAll=false",
"test": "TZ='UTC' react-scripts test --watchAll=false",
"test-watch": "TZ='UTC' react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint --ext .js --ext .jsx .",