@sectester/reporter
Version:
Provide an abstraction for generating test results as part of the particular test frameworks.
13 lines (12 loc) • 480 B
TypeScript
import { Reporter } from '../../lib';
import type { GitHubClient } from './api';
import type { GitHubConfig } from './types';
import type { Scan } from '@sectester/scan';
export declare class GitHubCheckRunReporter implements Reporter {
private readonly config;
private readonly githubClient;
constructor(config: GitHubConfig, githubClient: GitHubClient);
report(scan: Scan): Promise<void>;
private createCheckRunPayloadBuilder;
private getTestFilePath;
}