test: achieve 100% unit test coverage

Co-authored-by: Molten Bot 000 <260473928+moltenbot000@users.noreply.github.com>
This commit is contained in:
moltenhub-bot
2026-05-11 22:22:44 +00:00
parent a7849acc17
commit 2cef901b13
2 changed files with 124 additions and 0 deletions
+2
View File
@@ -8,6 +8,8 @@
"build": "npm run sitemap && vitepress build docs",
"build:force": "npm run sitemap && vitepress build docs --force",
"preview": "vitepress preview docs",
"test": "node --test $(find docs scripts -name '*.test.js' -print)",
"test:coverage": "node --test --experimental-test-coverage --test-coverage-lines=100 --test-coverage-branches=100 --test-coverage-functions=100 $(find docs scripts -name '*.test.js' -print)",
"format": "prettier --write .",
"verify": "bash scripts/verify.sh",
"lint": "eslint docs/.vitepress/theme",