Add snapshot test for markdownit token params passed to custom rules.

This commit is contained in:
David Anson 2024-09-12 22:52:30 -07:00
parent d279c4e424
commit bdd5cdcafe
4 changed files with 3092 additions and 2 deletions

View file

@ -57,7 +57,7 @@
"test-cover": "c8 --100 npm test",
"test-declaration": "cd example/typescript && tsc --module nodenext && tsc --module commonjs && node type-check.js",
"test-extra": "ava --timeout=10m test/markdownlint-test-extra-parse.js test/markdownlint-test-extra-type.js",
"update-snapshots": "ava --update-snapshots test/markdownlint-test-micromark.mjs test/markdownlint-test-scenarios.js",
"update-snapshots": "ava --update-snapshots test/markdownlint-test-custom-rules.js test/markdownlint-test-micromark.mjs test/markdownlint-test-scenarios.js",
"update-snapshots-test-repos": "ava --timeout=10m --update-snapshots test/markdownlint-test-repos-*.js",
"upgrade": "npx --yes npm-check-updates --upgrade"
},