no-conditional-expect
Added in v0.8.0Configuration
rslint.config.ts
Rule Details
Disallows assertions that only run on some execution paths. A test can pass without checking anything when its assertion is skipped by a condition.
The rule recognizes expect from globals, imports, the local test context, Browser Mode, and Playwright integrations.