Skip to content

Commit 3cf86e4

Browse files
committed
Revert "fix(test): Exclude localhost requests from HTTP span count"
This reverts commit c48dd54.
1 parent c44aa21 commit 3cf86e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

samples/react-native/e2e/captureSpaceflightNewsScreenTransaction.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ describe('Capture Spaceflight News Screen Transaction', () => {
119119
console.log(spans);
120120

121121
const httpSpans = spans?.filter(
122-
span =>
123-
span.data?.['sentry.op'] === 'http.client' &&
124-
span.data?.['server.address'] === 'api.spaceflightnewsapi.net'
122+
span => span.data?.['sentry.op'] === 'http.client',
125123
);
126124
expect(httpSpans).toHaveLength(2);
127125
});

0 commit comments

Comments
 (0)