valid-expect-in-promise
Added in v0.8.1Configuration
rslint.config.ts
Rule Details
Requires promise chains containing Rstest assertions to be returned or awaited. Otherwise the test can finish before the assertion runs or before its failure is reported.
Both Rstest expect and Chai assert calls are recognized. A promise chain may also be returned from the test callback.