Ver Fonte

set coverage conditions

Yuki Takei há 2 anos atrás
pai
commit
4f072e41ad
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      packages/micromark-extension-gfm-table/package.json

+ 2 - 1
packages/micromark-extension-gfm-table/package.json

@@ -61,12 +61,13 @@
     "clean": "npx -y shx rm -rf lib index.js index.d.ts \"dev/**/*.d.ts\" \"test/**/*.d.ts\"",
     "dev": "yarn build",
     "test-api": "node --conditions development test/index.js",
-    "test-coverage": "c8 --check-coverage --functions 100 --reporter lcov node --conditions development test/index.js",
+    "test-coverage": "c8 --check-coverage --branches 99.45 --functions 100 --lines 99.63 --statements 99.63 --reporter lcov node --conditions development test/index.js",
     "test": "npm run build && npm run test-coverage",
     "lint": "yarn eslint \"**/*.{cjs, js,jsx,ts,tsx}\"",
     "lint:fix": "yarn eslint \"**/*.{cjs, js,jsx,ts,tsx}\" --fix"
   },
   "typeCoverage": {
+    "atLeast": 94.42,
     "detail": true,
     "strict": true,
     "ignoreCatch": true