Skip to content

Kiln API / kiln/test / replayApp

Function: replayApp() ​

ts
function replayApp(
   recording, 
   options?, 
   root?
): Promise<ReplayContext>;

Builds a fresh app with the recording's seed and loop config and plays the recording on it (all of it, or to until). The returned app is live: step it further or inspect it.

Parameters ​

ParameterType
recordingstring | Recording
optionsReplayOptions
rootstring

Returns ​

Promise<ReplayContext>