UNPKG

codecheck-type-coverage

Version:

Track missing type coverage in TypeScript projects to ensure type safety

17 lines (15 loc) 411 B
import * as CodeChecks from "@codechecks/client"; import { join } from "path"; export const codeChecks: Partial<typeof CodeChecks.codeChecks> = { report: jest.fn(), success: jest.fn(), failure: jest.fn(), getValue: jest.fn(), saveValue: jest.fn(), getCollection: jest.fn(), saveCollection: jest.fn(), isPr: jest.fn(), context: { workspaceRoot: join(__dirname, "..", ".."), } as any, };