webtessera/testonly

An in-memory test log for your own tests.

It ports the Go package tessera/testonly. Its source is src/testonly/index.ts.

Functions

newTestLog
newTestLog creates an in-memory log instance in Appender mode with the provided options.

Interfaces

NewTestLogResult
NewTestLogResult is what newTestLog returns.
TestLog
TestLog represents an ephemeral in-memory log instance intended for use in tests.