MCPcopy Index your code
hub / github.com/code-pushup/cli / defaultTestCommand

Function defaultTestCommand

packages/plugin-coverage/src/lib/binding.ts:254–263  ·  view source on GitHub ↗
(framework: Framework)

Source from the content-addressed store, hash-verified

252}
253
254function defaultTestCommand(framework: Framework): string {
255 switch (framework) {
256 case 'jest':
257 return 'npx jest --coverage';
258 case 'vitest':
259 return 'npx vitest run --coverage.enabled';
260 default:
261 return '';
262 }
263}

Callers 1

binding.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected