From 45e4611807729af078f29f05c98e0c24369c8e3e Mon Sep 17 00:00:00 2001 From: Yaelle Chaudy <42030685+yaelleC@users.noreply.github.com> Date: Fri, 4 Mar 2022 11:37:33 +0100 Subject: [PATCH] Added test coverage commands to package.json (#46235) --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 7bdf754ea1c..0c9c0a78f1e 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",