(events: TestLogEntry[])
| 738 | } |
| 739 | |
| 740 | function formatVeEvents(events: TestLogEntry[]): string { |
| 741 | return events |
| 742 | .map(e => { |
| 743 | if ('interaction' in e) { |
| 744 | return formatInteraction(e); |
| 745 | } |
| 746 | return formatImpressions(e.impressions); |
| 747 | }) |
| 748 | .join('\n'); |
| 749 | } |
| 750 | |
| 751 | /** |
| 752 | * Verifies that VE events contains all the expected events in given order. |
no test coverage detected