()
| 304 | return `${hours}h ${remMinutes}m remaining`; |
| 305 | }, |
| 306 | getExpiryLabel() { |
| 307 | const expiryDate = getExpiryDate(); |
| 308 | if (!expiryDate) return "No active pass"; |
| 309 | return expiryDate.toLocaleString(); |
| 310 | }, |
| 311 | isAdFreeActive() { |
| 312 | return Boolean(state.isActive && state.adFreeUntil > Date.now()); |
| 313 | }, |
nothing calls this directly
no test coverage detected