Skip to content

Commit 57311d4

Browse files
committed
test: uiSpans are actually allSpans
1 parent 74c9bd5 commit 57311d4

File tree

1 file changed

+2
-2
lines changed
  • dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/resource-spans-ignored

1 file changed

+2
-2
lines changed

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/resource-spans-ignored/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sentryTest('should allow specific types of resource spans to be ignored.', async
1010
const url = await getLocalTestUrl({ testDir: __dirname });
1111

1212
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
13-
const uiSpans = eventData.spans?.filter(({ op }) => op?.startsWith('resource.script'));
13+
const allSpans = eventData.spans?.filter(({ op }) => op?.startsWith('resource.script'));
1414

15-
expect(uiSpans?.length).toBe(0);
15+
expect(allSpans?.length).toBe(0);
1616
});

0 commit comments

Comments
 (0)