MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / formatVeEvents

Function formatVeEvents

front_end/ui/visual_logging/Debugging.ts:740–749  ·  view source on GitHub ↗
(events: TestLogEntry[])

Source from the content-addressed store, hash-verified

738}
739
740function 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.

Callers 2

expectVeEventsFunction · 0.85
getUnmatchedVeEventsFunction · 0.85

Calls 4

formatInteractionFunction · 0.85
formatImpressionsFunction · 0.85
joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected