CCodelab Station
Product

Product features · Regression tests

01

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.

01

Connection

Base URL, credentials and a reachable server.

02

Selection

A model available through the configured endpoint.

03

Capabilities

Context limits and tool support are determined by the model and server.

Regression tests

● ● ●Codelab Station●
A concrete starting point · Regression tests ×
test('rejects expired credentials', async () => {
  const response = await callWithExpiredToken();
  expect(response.status).toBe(401);
});
✳Write a regression test for an expired access token.
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗