Files
openclaw/test/AGENTS.md
2026-08-18 01:40:28 -07:00

5 lines
552 B
Markdown

# Test Rules
- Fake-timer tests in `unit-fast` belong in `vitest.unit-fast-fake-timers`: `unit-fast` is `isolate: false` and parallel, so fake timers share worker globals and can hang unrelated real-timer tests.
- Async E2E waits synchronize on the state an action produces, never on the action returning: #125441 process readiness after `spawn()`, #125456 committed form state before Save, #125548 durable draft persistence before reload. Do not substitute longer timeouts, sleeps, retry-wrapped downstream assertions, or trimmed expectation fields.