import assert from "node:assert/strict"; import { startFakeDecoder } from "./browser_fake_decoder.js"; import { RACE_AUDIO_EVENT_DEFINITIONS } from "../src/race_audio.js"; // Only the casual, come-and-go practice modes (open_practice - the standalone "Quick Open // Practice" shortcut - and free_practice) skip the countdown/light/audio sequence entirely // (see startSessionWithAudio in src/app.js). "practice" is a proper scheduled slot in a // structured event's session plan and, like heat/qualification/final/team_race, runs 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 five types, // plus pause/resume/finish, and separately confirms open_practice still skips it. // // Every effect/voice is silenced via raceAudio.events so the sequence's own audio // playback (real