Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/rules/no-large-snapshots.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 was found with {{ lineCount }} lines long',
tooLongSnapshots:
'Expected Jest snapshot to be smaller than {{ lineLimit }} lines but was {{ lineCount }} lines long',
},
Expand Down