(
private readonly github: EventsGitHub,
private readonly reviewer: EventsGitHub,
readonly fixture: Fixture,
private readonly fallbackMs: number,
now: number,
)
| 19 | done = false; |
| 20 | |
| 21 | constructor( |
| 22 | private readonly github: EventsGitHub, |
| 23 | private readonly reviewer: EventsGitHub, |
| 24 | readonly fixture: Fixture, |
| 25 | private readonly fallbackMs: number, |
| 26 | now: number, |
| 27 | ) { |
| 28 | const [first, ...remaining] = scenarios[fixture.scenario].steps; |
| 29 | this.step = first; |
| 30 | this.remaining = remaining; |
| 31 | this.phaseStartedAt = now; |
| 32 | this.fallbackStartedAt = now; |
| 33 | this.phaseHead = fixture.initialHead; |
| 34 | } |
| 35 | |
| 36 | get phase(): Phase { |
| 37 | return this.step.kind; |
nothing calls this directly
no outgoing calls
no test coverage detected