## Lesson — 2026-03-08T00:56:41.780Z

**Tags:** style, curated
**Pattern:** expect\(.*\.length\)\.(toBeGreaterThan|toBeLessThan)(OrEqual)?\(\d+\)
**Engine:** regex
**Scope:** *.test.ts, *.spec.ts
**Severity:** warning

Avoid testing array length with comparison matchers; use toHaveLength for clarity.
