(now = new Date())
| 1 | export const generateLogEventId = (now = new Date()): string => { |
| 2 | const randomStr = (Math.random() + 1).toString(36).substring(8); |
| 3 | const timePart = (now.getTime() / 1000).toFixed(0); |
| 4 | return `${timePart}${randomStr}`; |
| 5 | }; |
no outgoing calls
no test coverage detected