From 81c5cd0a6ac9ea9ee960bc21429cc50e160aea62 Mon Sep 17 00:00:00 2001 From: Simone Taeggi Date: Mon, 25 Jul 2022 15:50:49 +0200 Subject: [PATCH] add coverage script to helper-plugin --- packages/core/helper-plugin/.gitignore | 3 ++- packages/core/helper-plugin/package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/helper-plugin/.gitignore b/packages/core/helper-plugin/.gitignore index 618f37eefd..6abcb0d982 100644 --- a/packages/core/helper-plugin/.gitignore +++ b/packages/core/helper-plugin/.gitignore @@ -12,4 +12,5 @@ yarn-error.log .DS_Store npm-debug.log .idea -stats.html \ No newline at end of file +stats.html +coverage \ No newline at end of file diff --git a/packages/core/helper-plugin/package.json b/packages/core/helper-plugin/package.json index a859639dc4..c4024df118 100644 --- a/packages/core/helper-plugin/package.json +++ b/packages/core/helper-plugin/package.json @@ -35,6 +35,7 @@ "prepublishOnly": "npm run build", "storybook": "start-storybook -p 6006", "test:front": "jest --config ./jest.config.front.js", + "test:front:cov": "jest --config ./jest.config.front.js --coverage --collectCoverageFrom='/packages/core/helper-plugin/lib/src/**/*.js' --coverageDirectory='/packages/core/helper-plugin/coverage'", "test:front:watch": "jest --config ./jest.config.front.js --watchAll", "watch": "yarn create:index && cross-env NODE_ENV=development webpack-cli -w" },