import AbstractCheckRunner, { RunLocation, SequenceId } from './abstract-check-runner'; import { GitInformation } from './util'; import { Check } from '../constructs/check'; import { RetryStrategy, SharedFile } from '../constructs'; import { ProjectBundle, ResourceDataBundle } from '../constructs/project-bundle'; export default class TestRunner extends AbstractCheckRunner { projectBundle: ProjectBundle; checkBundles: ResourceDataBundle[]; sharedFiles: SharedFile[]; location: RunLocation; shouldRecord: boolean; repoInfo: GitInformation | null; environment: string | null; updateSnapshots: boolean; baseDirectory: string; testRetryStrategy: RetryStrategy | null; streamLogs: boolean; refreshCache: boolean; constructor(accountId: string, projectBundle: ProjectBundle, checkBundles: ResourceDataBundle[], sharedFiles: SharedFile[], location: RunLocation, timeout: number, verbose: boolean, shouldRecord: boolean, repoInfo: GitInformation | null, environment: string | null, updateSnapshots: boolean, baseDirectory: string, testRetryStrategy: RetryStrategy | null, streamLogs?: boolean, refreshCache?: boolean); scheduleChecks(checkRunSuiteId: string): Promise<{ testSessionId?: string; checks: Array<{ check: any; sequenceId: SequenceId; }>; }>; processCheckResult(result: any): Promise; }