test-coverage

安装量: 1.8K
排名: #3498

安装

npx skills add https://github.com/cognitedata/builder-skills --skill test-coverage

Test Coverage Fix Fix test coverage for $ARGUMENTS (or the whole app if no argument is given). This skill enforces the 80% line coverage hard gate required for Flows app approval by finding AND fixing coverage gaps. Work through every step in order. Step 1 — Verify test framework and coverage tooling Check that the project has a working test framework with coverage configured:

Check for vitest or jest in package.json

grep -E "(vitest|jest)" package.json

Check for coverage configuration

cat vitest.config.ts 2

/dev/null || cat vitest.config.js 2

/dev/null || cat jest.config.ts 2

/dev/null || cat jest.config.js 2

/dev/null Show more

返回排行榜