Connection
Base URL, credentials and a reachable server.
Repair an asynchronous test that leaves a timer running after an assertion fails. Force the failure and an interrupted setup, then verify the cleanup restores timers and closes only resources created by that test.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
let resource;
try {
resource = await openTestResource();
await checkBehavior(resource);
} finally {
try {
await resource?.close();
} finally {
restoreTimers();
}
}