import { ... } from "@langchain/sandbox-standard-tests/vitest";Run the standard sandbox integration tests using Vitest as the runner.
Retry an async operation with a fixed delay between attempts.
Useful for working around transient sandbox concurrency limits: when a provider rejects creation because the organisation has too many running sandboxes, waiting a short while and retrying usually succeeds once a previous sandbox finishes shutting down.
Interface for sandbox instances used in standard tests.
Extends the canonical SandboxBackendProtocol from deepagents with
test-specific properties (isRunning, initialize) and makes
uploadFiles/downloadFiles required (they are optional in the
base protocol).
Configuration for the standard sandbox test suite.
A describe / suite function accepted by the standard tests.
An it / test function accepted by the standard tests.
Test-runner primitives required by the standard test suite.
Pass the primitives from your test framework (Vitest, Jest, …) when
importing from the root entry point. The @langchain/sandbox-standard-tests/vitest
sub-export fills these in automatically.
Configuration accepted by the Vitest-flavoured entry point.
Identical to StandardTestsConfig but runner is optional — it
defaults to the Vitest primitives.
An expect function.
The return type is intentionally any — every test framework exposes
its own matcher API and fully typing it would couple the package to a
specific runner.
A beforeAll / afterAll hook function.