Skip to content

stepCinematic beta ​

Function of @v12-engine/client/testing

ts
export declare function stepCinematic(what: CinematicDef | Cinematic | string, options?: StepOptions): Promise<CinematicRun>;

Plays a cinematic (a def or a script) as the game does, on a test's stage, for seconds (a 60th of a second a frame): see the top of this file