Skip to content

Commit c03207d

Browse files
committed
increase size limits
1 parent 6e73205 commit c03207d

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

.size-limit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ module.exports = [
9696
path: 'packages/browser/build/npm/esm/prod/index.js',
9797
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
9898
gzip: true,
99-
limit: '88 KB',
99+
limit: '90 KB',
100100
disablePlugins: ['@size-limit/esbuild'],
101101
},
102102
{
@@ -310,15 +310,15 @@ module.exports = [
310310
path: createCDNPath('bundle.tracing.replay.min.js'),
311311
gzip: false,
312312
brotli: false,
313-
limit: '257 KB',
313+
limit: '259 KB',
314314
disablePlugins: ['@size-limit/esbuild'],
315315
},
316316
{
317317
name: 'CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed',
318318
path: createCDNPath('bundle.tracing.replay.logs.metrics.min.js'),
319319
gzip: false,
320320
brotli: false,
321-
limit: '260.5 KB',
321+
limit: '262 KB',
322322
disablePlugins: ['@size-limit/esbuild'],
323323
},
324324
{

dev-packages/e2e-tests/test-applications/hono-4/tests/middleware.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,8 @@ test.describe('.all() handler in sub-app', () => {
166166
const transaction = await transactionPromise;
167167
const spans = transaction.spans || [];
168168

169-
const allHandlerSpan = spans.find(
170-
(span: SpanJSON) => span.op === 'middleware.hono' && span.description === 'allCatchAll',
171-
);
172-
expect(allHandlerSpan).toBeUndefined();
169+
// No middleware is called for this route, so there should be no spans.
170+
expect(spans).toEqual([]);
173171
});
174172
});
175173

0 commit comments

Comments
 (0)