(alert: Alert)
| 142 | |
| 143 | |
| 144 | export const getAlertText = (alert: Alert) => { |
| 145 | const condition = alert.alertType === 'upper' ? '>' : '<'; |
| 146 | return `Price ${condition} ${formatPrice(alert.threshold)}`; |
| 147 | }; |
| 148 | |
| 149 | export const getFormattedTodayDate = () => new Date().toLocaleDateString('en-US', { |
| 150 | weekday: 'long', |
nothing calls this directly
no test coverage detected