Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

function libtmux-ts latest

replayInvocations

An engine that answers from a recording and never starts a process.

Source and package
Qualified name
replayInvocations
Module
testing
Package
libtmux
Source
packages/libtmux/src/testing.ts
function replayInvocations( recording: TmuxRecording, ): TmuxEngine

Description#

Repeated identical commands answer in the order they were recorded, because two snapshots of a changing server are the same argv and different answers. An argv the recording does not hold raises rather than inventing a result: a test whose code took a path the recording never saw should say so, not quietly pass against an empty server.

Parameters
Esc

Type to search.

Reference previewOpen reference