(date: Date)
| 85 | } |
| 86 | |
| 87 | function isToday(date: Date): boolean { |
| 88 | const today = new Date(); |
| 89 | return date.toDateString() === today.toDateString(); |
| 90 | } |
| 91 | |
| 92 | function isYesterday(date: Date): boolean { |
| 93 | const yesterday = new Date(); |
no outgoing calls
no test coverage detected