Skip to content

Commit d4e6718

Browse files
committed
Update test script to require 100% branch/function/line coverage.
1 parent 425cca1 commit d4e6718

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"schema-copy": "cpy ./node_modules/markdownlint/schema/markdownlint-config-schema.json . --flat && cpy ./node_modules/markdownlint-cli2/schema/markdownlint-cli2-config-schema.json . --flat",
2828
"schema-embed": "node ./embed-schema.cjs",
2929
"schema-update": "replace-in-files --regex='https://raw\\.githubusercontent\\.com/DavidAnson/markdownlint/v\\d+\\.\\d+\\.\\d+/schema/markdownlint-config-schema\\.json' --replacement='./markdownlint-config-schema.json' ./markdownlint-cli2-config-schema.json",
30-
"test": "node --test --experimental-test-coverage && npm run lint && npm run compile && npm run schema-copy && npm run schema-embed && npm run schema-update && git diff --exit-code",
30+
"test": "node --test --experimental-test-coverage --test-coverage-branches=100 --test-coverage-functions=100 --test-coverage-lines=100 && npm run lint && npm run compile && npm run schema-copy && npm run schema-embed && npm run schema-update && git diff --exit-code",
3131
"test-ui": "node ./test-ui/run-tests.mjs",
3232
"test-web": "npm install --no-save @vscode/test-web && sed -i '.bak' -e 's/\\/{{uuid}}\\./\\//' node_modules/@vscode/test-web/out/server/workbench.js && vscode-test-web --browser=none --verbose --extensionDevelopmentPath=. ."
3333
},

0 commit comments

Comments
 (0)