Skip to content

Commit c3605c4

Browse files
committed
fix test assertion
1 parent 807d4cf commit c3605c4

File tree

1 file changed

+1
-3
lines changed
  • dev-packages/browser-integration-tests/suites/public-api/logger

1 file changed

+1
-3
lines changed

dev-packages/browser-integration-tests/suites/public-api/logger/test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ sentryTest('should capture all logging methods', async ({ getLocalTestUrl, page
99

1010
// Get all events from the page
1111
const event = await getFirstSentryEnvelopeRequest<OtelLogEnvelope>(page, url, properFullEnvelopeRequestParser);
12-
const [envelopeHeader, envelopeItems] = event;
13-
14-
expect(envelopeHeader).toEqual({ sdk: { name: 'sentry.javascript.browser', version: expect.any(String) } });
12+
const envelopeItems = event[1];
1513

1614
expect(envelopeItems.length).toBe(12);
1715

0 commit comments

Comments
 (0)