Connection
Base URL, credentials and a reachable server.
Write a regression test for an expired access token. Confirm that it fails before the correction and checks the status at the expiry boundary afterward.
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.
test('rejects expired credentials', async () => {
const response = await callWithExpiredToken();
expect(response.status).toBe(401);
});