max-expects
Added in v0.8.2Configuration
rslint.config.ts
Rule Details
Limits completed assertion chains in each Rstest test or hook callback. A smaller test is usually easier to understand because it verifies one behavior at a time.
Each expect(...), expect.soft(...), expect.poll(...), or expect.element(...) assertion counts once. Static helpers such as expect.any() do not count.