import assert from "node:assert/strict"; import { startFakeDecoder } from "./browser_fake_decoder.js"; import { RACE_AUDIO_EVENT_DEFINITIONS } from "../src/race_audio.js"; // Practice types skip the countdown/light/audio sequence entirely (see // startSessionWithAudio in src/app.js) - already covered by browser_race_day.js. // heat/qualification/final/team_race all run the real sequence in src/race_audio.js's // runStartSequence, gating the session's transition to "running" until it completes - // this file exercises that for each of those four types, plus pause/resume/finish. // // Every effect/voice is silenced via raceAudio.events so the sequence's own audio // playback (real