Skip to content

Commit

Permalink
feat: productivity email action text
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Dec 12, 2024
1 parent 83904b3 commit 9dfb77b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const productivityReportViewModel = ({
if (this.health < previousHealth) {
return improveMessage;
}
return 'You are doing a good job at keeping your project healthy by archiving stale flags';
return null;
},
healthTrendMessage() {
return this.previousMonthText(
Expand Down
1 change: 0 additions & 1 deletion src/lib/services/email-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ test('Can send productivity report email', async () => {
expect(content.html.includes('Productivity Report')).toBe(true);
expect(content.html.includes('localhost/insights')).toBe(true);
expect(content.html.includes('localhost/profile')).toBe(true);
expect(content.html.includes('doing a good job')).toBe(true);
expect(content.html.includes('#68a611')).toBe(true);
expect(content.html.includes('10% more than previous month')).toBe(true);
expect(content.text.includes('localhost/insights')).toBe(true);
Expand Down

0 comments on commit 9dfb77b

Please sign in to comment.