(event: NpsSurveyEvent, eventCapture: EventCapture)
| 188 | } |
| 189 | |
| 190 | async function submitSurveyEvent(event: NpsSurveyEvent, eventCapture: EventCapture) { |
| 191 | const signature = await checkpoint.getSignature() |
| 192 | await eventCapture.capture(signature, 'NPS feedback', event) |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Wraps a promise with a timeout. If the provided promise does not resolve within the given |
no test coverage detected