Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

testing.replayInvocations

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
testing
Package
libtmux
Source
packages/libtmux/src/testing.ts
replayInvocations ( recording : : TmuxRecording ) → TmuxEngine
function [source]
function [source]
replayInvocations

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

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.

0 declared, 0 inherited

Esc

Type to search.