From 4377817b278131f88d8ab218bdfdb0d5f7d65ffa Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 4 Mar 2022 05:47:44 -0500 Subject: [PATCH] Added test coverage commands to package.json (#46235) (#46239) (cherry picked from commit 45e4611807729af078f29f05c98e0c24369c8e3e) Co-authored-by: Yaelle Chaudy <42030685+yaelleC@users.noreply.github.com> --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index c431ca56cba..c39a536e8fc 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,8 @@ "e2e:dev": "./e2e/start-and-run-suite dev", "e2e:benchmark:live": "./e2e/start-and-run-suite benchmark live", "test": "jest --notify --watch", + "test:coverage": "jest --coverage", + "test:coverage:changes": "jest --coverage --changedSince=origin/main", "test:accessibility-report": "./scripts/generate-a11y-report.sh", "lint": "yarn run lint:ts && yarn run lint:sass", "lint:ts": "eslint . --ext .js,.tsx,.ts --cache",