require-local-test-context-for-concurrent-snapshots
Added in v0.8.2Configuration
rslint.config.ts
Rule Details
Requires concurrent tests to use the expect from their local Test Context for snapshot assertions. A shared global or imported expect can mix snapshot state between tests that run at the same time.
The rule checks snapshot matchers in concurrent tests, including concurrent suites and parameterized tests. It requires type information to identify the local Test Context.