Skip to content

Commit d7183bf

Browse files
committed
rename test helper
1 parent 2bcb80c commit d7183bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • dev-packages/browser-integration-tests/suites/tracing/request/fetch-streamed-track-stream-performance

dev-packages/browser-integration-tests/suites/tracing/request/fetch-streamed-track-stream-performance/test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ sentryTest(
3939

4040
// Wait for each span type separately since they may arrive in different envelopes.
4141
// Both spans share the `http.client` op, so the streaming attribute is what tells them apart.
42-
const isStreamSpan = (span: SerializedStreamedSpan): boolean =>
42+
const isHttpStreamSpan = (span: SerializedStreamedSpan): boolean =>
4343
span.attributes['http.response.body.streaming']?.value === true;
4444
const httpSpanPromise = waitForStreamedSpan(
4545
page,
46-
span => getSpanOp(span) === 'http.client' && !isStreamSpan(span),
46+
span => getSpanOp(span) === 'http.client' && !isHttpStreamSpan(span),
4747
);
4848
const streamSpanPromise = waitForStreamedSpan(
4949
page,
50-
span => getSpanOp(span) === 'http.client' && isStreamSpan(span),
50+
span => getSpanOp(span) === 'http.client' && isHttpStreamSpan(span),
5151
);
5252

5353
await page.goto(url);

0 commit comments

Comments
 (0)