UNPKG

node-reporter-gha

Version:
8 lines (7 loc) 545 B
import { TestEvent } from 'node:test/reporters'; export declare const escapeData: (s: unknown) => string; export declare const escapeProperty: (s: unknown) => string; export declare const transformFilename: (s: string | undefined) => string | undefined; export declare const isSubtestsFailedError: (error: Error) => boolean; export declare function getLocationInfo(event: TestEvent): [line: number | undefined, column: number | undefined, file: string | undefined]; export declare function generateSummary(data: Record<string, string>): string;