no-interpolation-in-snapshots
Configuration
rslint.config.ts
Rule Details
Disallow string interpolation inside inline snapshots. Interpolation prevents Jest from updating snapshots; instead, overload dynamic properties with a matcher via property matchers.
Examples of incorrect code for this rule:
Examples of correct code for this rule: