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" },