{ "$schema": "https://json-schema.org/draft-07/schema", "title": "Run Tests Script Settings", "description": "maksit-webui: plugin-driven Jest tests and coverage badges.", "paths": { "badgesDir": "..\\..\\assets\\badges" }, "plugins": [ { "name": "NpmJestTest", "stageLabel": "test", "enabled": true, "workspaceRoot": "..\\..\\src", "testScript": "test", "coverageDirectory": "coverage" }, { "name": "QualityGate", "stageLabel": "qualityGate", "enabled": true, "coverageThreshold": 0, "scanVulnerabilities": false }, { "name": "CoverageBadges", "stageLabel": "report", "enabled": true, "badgesDir": "..\\..\\assets\\badges", "badges": [ { "name": "coverage-lines.svg", "label": "Line Coverage", "metric": "line" }, { "name": "coverage-branches.svg", "label": "Branch Coverage", "metric": "branch" }, { "name": "coverage-methods.svg", "label": "Method Coverage", "metric": "method" } ], "colorThresholds": { "brightgreen": 80, "green": 60, "yellowgreen": 40, "yellow": 20, "orange": 10, "red": 0 } } ], "_comments": { "plugins": { "NpmJestTest": "Runs npm test with Jest coverage in workspaceRoot. Publishes coverage metrics on shared context.", "QualityGate": "Reads shared context metrics; set coverageThreshold > 0 to enforce minimum line coverage.", "CoverageBadges": "Writes SVG badges from shared context metrics into badgesDir." } } }