Skip to content

Commit 78ff0ad

Browse files
committed
skip loader and cdn bundle
1 parent fca3f1a commit 78ff0ad

File tree

1 file changed

+6
-0
lines changed
  • dev-packages/browser-integration-tests/suites/public-api/logger

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ import { sentryTest } from '../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest, properFullEnvelopeRequestParser } from '../../../utils/helpers';
66

77
sentryTest('should capture all logging methods', async ({ getLocalTestUrl, page }) => {
8+
const bundle = process.env.PW_BUNDLE || '';
9+
// Only run this for npm package exports
10+
if (bundle.startsWith('bundle') || bundle.startsWith('loader')) {
11+
sentryTest.skip();
12+
}
13+
814
const url = await getLocalTestUrl({ testDir: __dirname });
915

1016
const event = await getFirstSentryEnvelopeRequest<OtelLogEnvelope>(page, url, properFullEnvelopeRequestParser);

0 commit comments

Comments
 (0)