()
| 77 | |
| 78 | /** True when this run is producing a recording meant to be watched. */ |
| 79 | export const isFilming = (): boolean => |
| 80 | process.env.E2E_FILM === "1" || process.env.E2E_DESK === "1"; |
| 81 | |
| 82 | /** Hold for the viewer — a no-op unless this run is being filmed. */ |
| 83 | export const beat = async (ms: number = FILM_BEAT_MS): Promise<void> => { |