Update comment
This commit is contained in:
parent
8115e23414
commit
4a4b9f6574
|
|
@ -222,7 +222,8 @@ function mergeActionsAndUpdateTimingSameTrace(contexts: ContextEntry[]) {
|
||||||
|
|
||||||
// Protocol call aka isPrimary contexts have startTime/endTime as server-side times.
|
// Protocol call aka isPrimary contexts have startTime/endTime as server-side times.
|
||||||
// Step aka non-isPrimary contexts have startTime/endTime are client-side times.
|
// Step aka non-isPrimary contexts have startTime/endTime are client-side times.
|
||||||
// Adjust expect startTime/endTime on non-primary contexts to put them on a single timeline.
|
// Adjust startTime/endTime on the primary contexts to align them with the test
|
||||||
|
// runner steps.
|
||||||
const delta = monotonicTimeDeltaBetweenLibraryAndRunner(nonPrimaryContexts, map);
|
const delta = monotonicTimeDeltaBetweenLibraryAndRunner(nonPrimaryContexts, map);
|
||||||
if (delta)
|
if (delta)
|
||||||
adjustMonotonicTime(primaryContexts, delta);
|
adjustMonotonicTime(primaryContexts, delta);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue