UNPKG

@estruyf/github-actions-reporter

Version:
15 lines (14 loc) 704 B
/// <reference types="node" resolution-mode="require"/> import type { Reporter, FullConfig, Suite, TestCase, FullResult, TestResult } from "@playwright/test/reporter"; import { GitHubActionOptions } from "./models/index.js"; export { GitHubActionOptions } from "./models/index.js"; declare class GitHubAction implements Reporter { private options; private suite; constructor(options?: GitHubActionOptions); onBegin(_: FullConfig, suite: Suite): void; onStdOut(chunk: string | Buffer, _: void | TestCase, __: void | TestResult): void; onStdErr(chunk: string | Buffer, _: TestCase, __: TestResult): void; onEnd(result: FullResult): Promise<void>; } export default GitHubAction;