diff --git a/src/rules/no-large-snapshots.ts b/src/rules/no-large-snapshots.ts index a33484628..c9aee9b87 100644 --- a/src/rules/no-large-snapshots.ts +++ b/src/rules/no-large-snapshots.ts @@ -79,7 +79,8 @@ export default createRule<[RuleOptions], MessageId>({ description: 'Disallow large snapshots', }, messages: { - noSnapshot: '`{{ lineCount }}`s should begin with lowercase', + noSnapshot: + 'Expected to not encounter a Jest snapshot but one was found that is {{ lineCount }} lines long', tooLongSnapshots: 'Expected Jest snapshot to be smaller than {{ lineLimit }} lines but was {{ lineCount }} lines long', },