You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that is what flips the test into real-endpoint mode. `TEST_FILE` is required so unrelated suites
274
274
don't burn through the real API.
275
275
276
+
**Self-skip conditions** — the test skips (rather than fails) in two situations: (1) neither
277
+
`ANTHROPIC_API_KEY` nor `AIMOCK_URL` is set (the test has no API to talk to); (2) real-endpoint
278
+
mode only: the model used fewer than two parallel tool calls, which means the codepath under test
279
+
was never exercised and a green result would be inconclusive.
280
+
276
281
## Programmatic fixtures (regex matching)
277
282
278
283
For requests that can't be matched by a stable substring (e.g. "starts with `<environment_details>` but not preceded by a user message"), add a programmatic fixture in`src/runTest.ts` using `mock.addFixture()` with a `RegExp` match. These are only available in replay mode and are not recorded.
0 commit comments