(threshold: number)
| 17 | } |
| 18 | |
| 19 | function shouldNotify(threshold: number): boolean { |
| 20 | return process.env.NODE_ENV !== 'test' && !hasRecentInteraction(threshold) |
| 21 | } |
| 22 | |
| 23 | // NOTE: User interaction tracking is now done in App.tsx's processKeysInBatch |
| 24 | // function, which calls updateLastInteractionTime() when any input is received. |
no test coverage detected