Skip to content

Commit af4a72d

Browse files
committed
fix error in test, size limit
1 parent c7b06c1 commit af4a72d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.size-limit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = [
7575
path: 'packages/browser/build/npm/esm/index.js',
7676
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
7777
gzip: true,
78-
limit: '83 KB',
78+
limit: '84 KB',
7979
},
8080
{
8181
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
@@ -120,7 +120,7 @@ module.exports = [
120120
import: createImport('init', 'ErrorBoundary', 'reactRouterV6BrowserTracingIntegration'),
121121
ignore: ['react/jsx-runtime'],
122122
gzip: true,
123-
limit: '42 KB',
123+
limit: '43 KB',
124124
},
125125
// Vue SDK (ESM)
126126
{
@@ -206,7 +206,7 @@ module.exports = [
206206
import: createImport('init'),
207207
ignore: ['next/router', 'next/constants'],
208208
gzip: true,
209-
limit: '44 KB',
209+
limit: '45 KB',
210210
},
211211
// SvelteKit SDK (ESM)
212212
{

dev-packages/browser-integration-tests/suites/tracing/request/fetch/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ sentryTest('attaches `sentry-trace` and `baggage` headers to fetch requests', as
7575
baggage: expect.any(String),
7676
'x-test-header': 'existing-header',
7777
});
78-
expect(requestHeaders1).not.toHaveProperty('traceparent');
78+
expect(requestHeaders2).not.toHaveProperty('traceparent');
7979

8080
const request3 = requests[2];
8181
const requestHeaders3 = request3.headers();
8282
expect(requestHeaders3).toMatchObject({
8383
'sentry-trace': expect.stringMatching(/^([a-f0-9]{32})-([a-f0-9]{16})-1$/),
8484
baggage: expect.any(String),
8585
});
86-
expect(requestHeaders1).not.toHaveProperty('traceparent');
86+
expect(requestHeaders3).not.toHaveProperty('traceparent');
8787
});

0 commit comments

Comments
 (0)