Skip to content

Commit daceae0

Browse files
committed
Add command to log special case
1 parent c340370 commit daceae0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/trace/patch-http.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ function getRequestOptionsWithTraceContext(
104104
...options,
105105
headers,
106106
};
107+
// Logging all http requests during integration tests let's
108+
// us track traffic in our test snapshots
107109
if (isIntegrationTest()) {
108110
_logHttpRequest(requestOpts);
109111
}

0 commit comments

Comments
 (0)