github-sarif-validator-jest
Version:
A Jest package that allows you to validate a Sarif output is compatible for Github Code scanning
15 lines (14 loc) • 417 B
TypeScript
import type { MatcherFunction } from "expect";
declare const toBeValidGithubSarifLog: MatcherFunction<[]>;
export declare function extendJestExpect(): void;
declare global {
namespace jest {
interface Matchers<R> {
toBeValidGithubSarifLog(): R;
}
interface AsymmetricMatchers {
toBeValidGithubSarifLog(): void;
}
}
}
export { toBeValidGithubSarifLog };