Skip to content

Commit cf80708

Browse files
authored
Merge pull request #4762 from jdesrosiers/json-schema-coverage
Switch to @hyperjump/json-schema-coverage for schema test coverage
2 parents 73103b7 + 800542a commit cf80708

File tree

7 files changed

+194
-234
lines changed

7 files changed

+194
-234
lines changed

package-lock.json

Lines changed: 149 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "bash ./scripts/md2html/build.sh",
1717
"build-src": "npm run validate-markdown && bash ./scripts/md2html/build.sh src && bash ./scripts/schema-publish.sh src",
18-
"test": "c8 --100 vitest --watch=false && bash scripts/schema-test-coverage.sh",
18+
"test": "c8 --100 vitest run --coverage",
1919
"format-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml --fix src/oas.md && npx markdownlint-cli2 --fix *.md",
2020
"validate-markdown": "npx markdownlint-cli2 --config spec.markdownlint.yaml src/oas.md && npx markdownlint-cli2 *.md"
2121
},
@@ -27,7 +27,7 @@
2727
"yargs": "^18.0.0"
2828
},
2929
"devDependencies": {
30-
"@hyperjump/json-schema": "^1.16.1",
30+
"@hyperjump/json-schema-coverage": "^1.1.0",
3131
"c8": "^10.1.3",
3232
"markdownlint-cli2": "^0.18.1",
3333
"vitest": "^3.2.4",

0 commit comments

Comments
 (0)