(type, outcome, latency_ms, age_at_verify_ms, reason)
| 235 | }); |
| 236 | |
| 237 | function mkEvent(type, outcome, latency_ms, age_at_verify_ms, reason) { |
| 238 | return mkEventWithTs(type, outcome, latency_ms, age_at_verify_ms, Date.now(), reason); |
| 239 | } |
| 240 | |
| 241 | function mkEventWithTs(type, outcome, latency_ms, age_at_verify_ms, ts, reason) { |
| 242 | return { |
no test coverage detected