Add code coverage tools (get_coverage_report, get_file_coverage) #714
Annotations
5 errors and 3 warnings
|
build-and-test (24.x)
Process completed with exit code 2.
|
|
build-and-test (24.x):
src/mcp/tools/coverage/__tests__/get_file_coverage.test.ts#L306
Argument of type '(_command: string[], _logPrefix?: string, _useShell?: boolean, _opts?: { env?: Record<string, string>; }, _detached?: boolean) => Promise<{ success: boolean; output: string; exitCode: number; error?: undefined; } | { ...; }>' is not assignable to parameter of type 'CommandExecutor'.
|
|
build-and-test (24.x):
src/mcp/tools/coverage/__tests__/get_file_coverage.test.ts#L281
Argument of type '(_command: string[], _logPrefix?: string, _useShell?: boolean, _opts?: { env?: Record<string, string>; }, _detached?: boolean) => Promise<{ success: boolean; output: string; exitCode: number; }>' is not assignable to parameter of type 'CommandExecutor'.
|
|
build-and-test (24.x):
src/mcp/tools/coverage/__tests__/get_file_coverage.test.ts#L253
Argument of type '(_command: string[], _logPrefix?: string, _useShell?: boolean, _opts?: { env?: Record<string, string>; }, _detached?: boolean) => Promise<{ success: boolean; output: string; exitCode: number; }>' is not assignable to parameter of type 'CommandExecutor'.
|
|
build-and-test (24.x):
src/mcp/tools/coverage/__tests__/get_file_coverage.test.ts#L96
Argument of type '(command: string[], _logPrefix?: string, _useShell?: boolean, _opts?: { env?: Record<string, string>; }, _detached?: boolean) => Promise<{ success: boolean; output: string; exitCode: number; }>' is not assignable to parameter of type 'CommandExecutor'.
|
|
build-and-test (24.x):
src/daemon.ts#L226
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
|
build-and-test (24.x):
src/daemon.ts#L225
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
|
build-and-test (24.x):
src/daemon.ts#L224
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|