expect-expect
Added in v0.8.1Configuration
rslint.config.ts
Rule Details
Requires every Rstest test or it callback to contain an assertion. This prevents tests from passing after exercising code without verifying its result.
By default, both expect and Chai's assert count as assertions. test.todo and it.todo are exempt because they intentionally have no callback; globals, imports, aliases, parameterized tests, fixtures, and Playwright integrations are recognized.