From 1bc7b092d02c8ca2d502a400cdc31d2091c96b44 Mon Sep 17 00:00:00 2001 From: Catherine Lee <55311782+c298lee@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:39:04 -0400 Subject: [PATCH] fix tests again --- .size-limit.js | 2 +- .../suites/replay/customEvents/test.ts | 2 -- .../suites/replay/multiple-pages/test.ts | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.size-limit.js b/.size-limit.js index 2e7899cb934a..5a2ff44cc32d 100644 --- a/.size-limit.js +++ b/.size-limit.js @@ -48,7 +48,7 @@ module.exports = [ path: 'packages/browser/build/npm/esm/index.js', import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'), gzip: true, - limit: '76 KB', + limit: '77 KB', }, { name: '@sentry/browser (incl. Tracing, Replay, Feedback)', diff --git a/dev-packages/browser-integration-tests/suites/replay/customEvents/test.ts b/dev-packages/browser-integration-tests/suites/replay/customEvents/test.ts index 86eba72c956d..053c31c3881e 100644 --- a/dev-packages/browser-integration-tests/suites/replay/customEvents/test.ts +++ b/dev-packages/browser-integration-tests/suites/replay/customEvents/test.ts @@ -10,7 +10,6 @@ import { expectedLCPPerformanceSpan, expectedMemoryPerformanceSpan, expectedNavigationPerformanceSpan, - expectedTTFBPerformanceSpan, getExpectedReplayEvent, } from '../../../utils/replayEventTemplates'; import type { PerformanceSpan } from '../../../utils/replayHelpers'; @@ -66,7 +65,6 @@ sentryTest( expectedNavigationPerformanceSpan, expectedLCPPerformanceSpan, expectedCLSPerformanceSpan, - expectedTTFBPerformanceSpan, expectedFIDPerformanceSpan, expectedFPPerformanceSpan, expectedFCPPerformanceSpan, diff --git a/dev-packages/browser-integration-tests/suites/replay/multiple-pages/test.ts b/dev-packages/browser-integration-tests/suites/replay/multiple-pages/test.ts index dc99f7de57f7..677490860f63 100644 --- a/dev-packages/browser-integration-tests/suites/replay/multiple-pages/test.ts +++ b/dev-packages/browser-integration-tests/suites/replay/multiple-pages/test.ts @@ -81,13 +81,12 @@ sentryTest( const collectedPerformanceSpans = [...recording0.performanceSpans, ...recording1.performanceSpans]; const collectedBreadcrumbs = [...recording0.breadcrumbs, ...recording1.breadcrumbs]; - expect(collectedPerformanceSpans.length).toEqual(9); + expect(collectedPerformanceSpans.length).toEqual(8); expect(collectedPerformanceSpans).toEqual( expect.arrayContaining([ expectedNavigationPerformanceSpan, expectedLCPPerformanceSpan, expectedCLSPerformanceSpan, - expectedTTFBPerformanceSpan, expectedFIDPerformanceSpan, expectedFPPerformanceSpan, expectedFCPPerformanceSpan,