fakeSandbox / fake_sandbox

Test kit.

Runs the shared sandbox suite on every PR.

Import from @threads/core (TypeScript) or threads (Python).

function fakeSandbox(script: SandboxScript): Sandbox

Parameters

scriptSandboxScriptdefault {}

What the fake sandbox answers: output per scripted tool, effect keys it already executed, lookup answers for reconciliation, process state for recovery, and snapshots. Default {}: an in-memory sandbox with no scripted tools.

Returns

Sandbox

Edit on GitHub

On this page