freshIdentityUse `{{matcher}}` instead; freshly-created values are never identical to other values.small-rules/no-trivial-assertionsDisallow assertions that always succeed or compare against freshly created values.
freshIdentityUse `{{matcher}}` instead; freshly-created values are never identical to other values.freshPredicateReplace this assertion; the value is freshly created here, so the result is independent of the code under test.issueReplace this assertion; it always succeeds.This rule does not accept options.
expect(true).toBe(true);expect(result).toBe(true);