Skip to content

Commit 4cfbacb

Browse files
committed
helper comments
1 parent 2e5afd0 commit 4cfbacb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/firebase-admin/sendTestEmail.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ const generateTestUserData = (
157157
return {
158158
userId,
159159
userName,
160-
bills: billResults.slice(0, Math.min(7, numBillsWithTestimony)),
160+
bills: billResults.slice(0, Math.min(7, numBillsWithTestimony)), // need a potential 7th bill to trigger 'See more' option
161161
newTestimonyCount: numBillsWithTestimony
162162
}
163163
}

stories/emailTemplates/NotificationDigestEmail.stories.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const generateTestUserData = (
122122
return {
123123
userId,
124124
userName,
125-
bills: billResults.slice(0, Math.min(7, numBillsWithTestimony)),
125+
bills: billResults.slice(0, Math.min(7, numBillsWithTestimony)), // need a potential 7th bill to trigger 'See more' option
126126
newTestimonyCount: numBillsWithTestimony
127127
}
128128
}

0 commit comments

Comments
 (0)