Add npm script "update-test-repos" to recreate the test-repos directory and freshen the corresponding snapshots.

This commit is contained in:
David Anson 2025-03-31 00:12:24 +00:00
parent 465fc448eb
commit b4204f197e
4 changed files with 2 additions and 2 deletions

View file

@ -67,6 +67,7 @@
"test-extra": "ava --timeout=10m test/markdownlint-test-extra-parse.mjs test/markdownlint-test-extra-type.mjs",
"update-snapshots": "ava --update-snapshots test/markdownlint-test-custom-rules.mjs test/markdownlint-test-exports.mjs test/markdownlint-test-micromark.mjs test/markdownlint-test-scenarios.mjs",
"update-snapshots-test-repos": "ava --timeout=10m --update-snapshots test/markdownlint-test-repos-*.mjs",
"update-test-repos": "node scripts/index.mjs remove ./test-repos && npm run clone-test-repos && npm run update-snapshots-test-repos",
"upgrade": "npx --yes npm-check-updates --upgrade"
},
"engines": {