Skip to content

Commit ec9126e

Browse files
committed
Revert "Merge pull request #14408 from getsentry/prepare-release/8.40.0"
This reverts commit c1ccdf3, reversing changes made to 5ab2877.
1 parent e09c172 commit ec9126e

File tree

788 files changed

+2124
-3659
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

788 files changed

+2124
-3659
lines changed

.size-limit.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ module.exports = [
7979
path: 'packages/browser/build/npm/esm/index.js',
8080
import: createImport('init', 'browserTracingIntegration', 'replayIntegration', 'replayCanvasIntegration'),
8181
gzip: true,
82-
limit: '79 KB',
82+
limit: '78.2 KB',
8383
},
8484
{
8585
name: '@sentry/browser (incl. Tracing, Replay, Feedback)',
@@ -107,7 +107,7 @@ module.exports = [
107107
path: 'packages/browser/build/npm/esm/index.js',
108108
import: createImport('init', 'feedbackAsyncIntegration'),
109109
gzip: true,
110-
limit: '34 KB',
110+
limit: '33 KB',
111111
},
112112
// React SDK (ESM)
113113
{
@@ -160,7 +160,7 @@ module.exports = [
160160
name: 'CDN Bundle (incl. Tracing)',
161161
path: createCDNPath('bundle.tracing.min.js'),
162162
gzip: true,
163-
limit: '39 KB',
163+
limit: '38 KB',
164164
},
165165
{
166166
name: 'CDN Bundle (incl. Tracing, Replay)',

CHANGELOG.md

-77
Original file line numberDiff line numberDiff line change
@@ -10,83 +10,6 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13-
## 8.40.0
14-
15-
### Important Changes
16-
17-
- **feat(angular): Support Angular 19 ([#14398](https://github.com/getsentry/sentry-javascript/pull/14398))**
18-
19-
The `@sentry/angular` SDK can now be used with Angular 19. If you're upgrading to the new Angular version, you might want to migrate from the now deprecated `APP_INITIALIZER` token to `provideAppInitializer`.
20-
In this case, change the Sentry `TraceService` initialization in `app.config.ts`:
21-
22-
```ts
23-
// Angular 18
24-
export const appConfig: ApplicationConfig = {
25-
providers: [
26-
// other providers
27-
{
28-
provide: TraceService,
29-
deps: [Router],
30-
},
31-
{
32-
provide: APP_INITIALIZER,
33-
useFactory: () => () => {},
34-
deps: [TraceService],
35-
multi: true,
36-
},
37-
],
38-
};
39-
40-
// Angular 19
41-
export const appConfig: ApplicationConfig = {
42-
providers: [
43-
// other providers
44-
{
45-
provide: TraceService,
46-
deps: [Router],
47-
},
48-
provideAppInitializer(() => {
49-
inject(TraceService);
50-
}),
51-
],
52-
};
53-
```
54-
55-
- **feat(core): Deprecate `debugIntegration` and `sessionTimingIntegration` ([#14363](https://github.com/getsentry/sentry-javascript/pull/14363))**
56-
57-
The `debugIntegration` was deprecated and will be removed in the next major version of the SDK.
58-
To log outgoing events, use [Hook Options](https://docs.sentry.io/platforms/javascript/configuration/options/#hooks) (`beforeSend`, `beforeSendTransaction`, ...).
59-
60-
The `sessionTimingIntegration` was deprecated and will be removed in the next major version of the SDK.
61-
To capture session durations alongside events, use [Context](https://docs.sentry.io/platforms/javascript/enriching-events/context/) (`Sentry.setContext()`).
62-
63-
- **feat(nestjs): Deprecate `@WithSentry` in favor of `@SentryExceptionCaptured` ([#14323](https://github.com/getsentry/sentry-javascript/pull/14323))**
64-
65-
The `@WithSentry` decorator was deprecated. Use `@SentryExceptionCaptured` instead. This is a simple renaming and functionality stays identical.
66-
67-
- **feat(nestjs): Deprecate `SentryTracingInterceptor`, `SentryService`, `SentryGlobalGenericFilter`, `SentryGlobalGraphQLFilter` ([#14371](https://github.com/getsentry/sentry-javascript/pull/14371))**
68-
69-
The `SentryTracingInterceptor` was deprecated. If you are using `@sentry/nestjs` you can safely remove any references to the `SentryTracingInterceptor`. If you are using another package migrate to `@sentry/nestjs` and remove the `SentryTracingInterceptor` afterwards.
70-
71-
The `SentryService` was deprecated and its functionality was added to `Sentry.init`. If you are using `@sentry/nestjs` you can safely remove any references to the `SentryService`. If you are using another package migrate to `@sentry/nestjs` and remove the `SentryService` afterwards.
72-
73-
The `SentryGlobalGenericFilter` was deprecated. Use the `SentryGlobalFilter` instead which is a drop-in replacement.
74-
75-
The `SentryGlobalGraphQLFilter` was deprecated. Use the `SentryGlobalFilter` instead which is a drop-in replacement.
76-
77-
- **feat(node): Deprecate `nestIntegration` and `setupNestErrorHandler` in favor of using `@sentry/nestjs` ([#14374](https://github.com/getsentry/sentry-javascript/pull/14374))**
78-
79-
The `nestIntegration` and `setupNestErrorHandler` functions from `@sentry/node` were deprecated and will be removed in the next major version of the SDK. If you're using `@sentry/node` in a NestJS application, we recommend switching to our new dedicated `@sentry/nestjs` package.
80-
81-
### Other Changes
82-
83-
- feat(browser): Send additional LCP timing info ([#14372](https://github.com/getsentry/sentry-javascript/pull/14372))
84-
- feat(core): Ensure `normalizedRequest` on `sdkProcessingMetadata` is merged ([#14315](https://github.com/getsentry/sentry-javascript/pull/14315))
85-
- feat(core): Hoist everything from `@sentry/utils` into `@sentry/core` ([#14382](https://github.com/getsentry/sentry-javascript/pull/14382))
86-
- fix(core): Do not throw when trying to fill readonly properties ([#14402](https://github.com/getsentry/sentry-javascript/pull/14402))
87-
- fix(feedback): Fix `__self` and `__source` attributes on feedback nodes ([#14356](https://github.com/getsentry/sentry-javascript/pull/14356))
88-
- fix(nextjs): Update check for not found navigation error ([#14378](https://github.com/getsentry/sentry-javascript/pull/14378))
89-
9013
## 8.39.0
9114

9215
### Important Changes

dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ${changedPaths.join('\n')}
100100
* Returns how many time one test should run based on the chosen mode and a bunch of heuristics
101101
*/
102102
function getPerTestRunCount(testPaths: string[]) {
103-
if ((!process.env.TEST_RUN_COUNT || process.env.TEST_RUN_COUNT === 'AUTO') && testPaths.length > 0) {
103+
if (process.env.TEST_RUN_COUNT === 'AUTO' && testPaths.length > 0) {
104104
// Run everything up to 100x, assuming that total runtime is less than 60min.
105105
// We assume an average runtime of 3s per test, times 4 (for different browsers) = 12s per detected testPaths
106106
// We want to keep overall runtime under 30min

dev-packages/browser-integration-tests/suites/integrations/ContextLines/inline/test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../uti
55

66
sentryTest(
77
'should add source context lines around stack frames from errors in Html inline JS',
8-
async ({ getLocalTestUrl, page, browserName }) => {
8+
async ({ getLocalTestPath, page, browserName }) => {
99
if (browserName === 'webkit') {
1010
// The error we're throwing in this test is thrown as "Script error." in Webkit.
1111
// We filter "Script error." out by default in `InboundFilters`.
@@ -15,10 +15,9 @@ sentryTest(
1515
sentryTest.skip();
1616
}
1717

18-
const url = await getLocalTestUrl({ testDir: __dirname });
18+
const url = await getLocalTestPath({ testDir: __dirname });
1919

2020
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
21-
await page.waitForFunction('window.Sentry');
2221

2322
const clickPromise = page.locator('#inline-error-btn').click();
2423

dev-packages/browser-integration-tests/suites/integrations/ContextLines/noAddedLines/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { expect } from '@playwright/test';
33
import { sentryTest } from '../../../../utils/fixtures';
44
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
55

6-
sentryTest('should not add source context lines to errors from script files', async ({ getLocalTestUrl, page }) => {
7-
const url = await getLocalTestUrl({ testDir: __dirname });
6+
sentryTest('should not add source context lines to errors from script files', async ({ getLocalTestPath, page }) => {
7+
const url = await getLocalTestPath({ testDir: __dirname });
88

99
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
1010

dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../uti
55

66
sentryTest(
77
'should add source context lines around stack frames from errors in Html script tags',
8-
async ({ getLocalTestUrl, page, browserName }) => {
8+
async ({ getLocalTestPath, page, browserName }) => {
99
if (browserName === 'webkit') {
1010
// The error we're throwing in this test is thrown as "Script error." in Webkit.
1111
// We filter "Script error." out by default in `InboundFilters`.
@@ -15,10 +15,9 @@ sentryTest(
1515
sentryTest.skip();
1616
}
1717

18-
const url = await getLocalTestUrl({ testDir: __dirname });
18+
const url = await getLocalTestPath({ testDir: __dirname });
1919

2020
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
21-
await page.waitForFunction('window.Sentry');
2221

2322
const clickPromise = page.locator('#inline-error-btn').click();
2423

dev-packages/browser-integration-tests/suites/integrations/globalHandlers/fetchStackTrace/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getMultipleSentryEnvelopeRequests } from '../../../../utils/helpers';
66

7-
sentryTest('should create errors with stack traces for failing fetch calls', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('should create errors with stack traces for failing fetch calls', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const envelopes = await getMultipleSentryEnvelopeRequests<Event>(page, 3, { url, timeout: 10000 });
1111
const errorEvent = envelopes.find(event => !event.type)!;

dev-packages/browser-integration-tests/suites/integrations/httpContext/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../utils/helpers';
66

7-
sentryTest('httpContextIntegration captures user-agent and referrer', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('httpContextIntegration captures user-agent and referrer', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const errorEventPromise = getFirstSentryEnvelopeRequest<Event>(page);
1111

dev-packages/browser-integration-tests/suites/integrations/httpclient/axios/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should assign request and response context from a failed 500 XHR request',
9-
async ({ getLocalTestUrl, page }) => {
10-
const url = await getLocalTestUrl({ testDir: __dirname });
9+
async ({ getLocalTestPath, page }) => {
10+
const url = await getLocalTestPath({ testDir: __dirname });
1111

1212
await page.route('**/foo', route => {
1313
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/simple/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
88
// https://github.com/microsoft/playwright/issues/10376
99
sentryTest(
1010
'should assign request and response context from a failed 500 fetch request',
11-
async ({ getLocalTestUrl, page }) => {
12-
const url = await getLocalTestUrl({ testDir: __dirname });
11+
async ({ getLocalTestPath, page }) => {
12+
const url = await getLocalTestPath({ testDir: __dirname });
1313

1414
await page.route('**/foo', route => {
1515
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withAbortController/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import type { Event as SentryEvent } from '@sentry/types';
33
import { sentryTest } from '../../../../../utils/fixtures';
44
import { getFirstSentryEnvelopeRequest, shouldSkipTracingTest } from '../../../../../utils/helpers';
55

6-
sentryTest('should handle aborted fetch calls', async ({ getLocalTestUrl, page }) => {
6+
sentryTest('should handle aborted fetch calls', async ({ getLocalTestPath, page }) => {
77
if (shouldSkipTracingTest()) {
88
sentryTest.skip();
99
}
1010

11-
const url = await getLocalTestUrl({ testDir: __dirname });
11+
const url = await getLocalTestPath({ testDir: __dirname });
1212

1313
await page.route('**/foo', async () => {
1414
// never fulfil this route because we abort the request as part of the test

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequest/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
66

7-
sentryTest('works with a Request passed in', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('works with a Request passed in', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
await page.route('**/foo', route => {
1111
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequestAndBodyAndOptions/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
66

77
sentryTest(
88
'works with a Request (with body) & options passed in - handling used body',
9-
async ({ getLocalTestUrl, page }) => {
10-
const url = await getLocalTestUrl({ testDir: __dirname });
9+
async ({ getLocalTestPath, page }) => {
10+
const url = await getLocalTestPath({ testDir: __dirname });
1111

1212
await page.route('**/foo', route => {
1313
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequestAndOptions/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
66

7-
sentryTest('works with a Request (without body) & options passed in', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('works with a Request (without body) & options passed in', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
await page.route('**/foo', route => {
1111
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/xhr/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should assign request and response context from a failed 500 XHR request',
9-
async ({ getLocalTestUrl, page }) => {
10-
const url = await getLocalTestUrl({ testDir: __dirname });
9+
async ({ getLocalTestPath, page }) => {
10+
const url = await getLocalTestPath({ testDir: __dirname });
1111

1212
await page.route('**/foo', route => {
1313
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/moduleMetadata/appliesMetadata/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should provide module_metadata on stack frames in beforeSend', async ({ getLocalTestUrl, page }) => {
7+
sentryTest('should provide module_metadata on stack frames in beforeSend', async ({ getLocalTestPath, page }) => {
88
// moduleMetadataIntegration is not included in any CDN bundles
99
if (process.env.PW_BUNDLE?.startsWith('bundle')) {
1010
sentryTest.skip();
1111
}
1212

13-
const url = await getLocalTestUrl({ testDir: __dirname });
13+
const url = await getLocalTestPath({ testDir: __dirname });
1414

1515
const errorEvent = await getFirstSentryEnvelopeRequest<Event>(page, url);
1616
expect(errorEvent.extra?.['module_metadata_entries']).toEqual([{ foo: 'bar' }]);

dev-packages/browser-integration-tests/suites/integrations/moduleMetadata/appliesMetadataWithRewriteFrames/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should provide module_metadata on stack frames in beforeSend even though an event processor (rewriteFramesIntegration) modified the filename',
9-
async ({ getLocalTestUrl, page }) => {
9+
async ({ getLocalTestPath, page }) => {
1010
// moduleMetadataIntegration is not included in any CDN bundles
1111
if (process.env.PW_BUNDLE?.startsWith('bundle')) {
1212
sentryTest.skip();
1313
}
1414

15-
const url = await getLocalTestUrl({ testDir: __dirname });
15+
const url = await getLocalTestPath({ testDir: __dirname });
1616

1717
const errorEvent = await getFirstSentryEnvelopeRequest<Event>(page, url);
1818
expect(errorEvent?.extra?.['module_metadata_entries']).toEqual([{ foo: 'baz' }]);

dev-packages/browser-integration-tests/suites/metrics/metricsShim/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { expect } from '@playwright/test';
33
import { sentryTest } from '../../../utils/fixtures';
44
import { shouldSkipMetricsTest } from '../../../utils/helpers';
55

6-
sentryTest('exports shim metrics integration for non-tracing bundles', async ({ getLocalTestUrl, page }) => {
6+
sentryTest('exports shim metrics integration for non-tracing bundles', async ({ getLocalTestPath, page }) => {
77
// Skip in tracing tests
88
if (!shouldSkipMetricsTest()) {
99
sentryTest.skip();
@@ -22,7 +22,7 @@ sentryTest('exports shim metrics integration for non-tracing bundles', async ({
2222
});
2323
});
2424

25-
const url = await getLocalTestUrl({ testDir: __dirname, skipDsnRouteHandler: true });
25+
const url = await getLocalTestPath({ testDir: __dirname, skipDsnRouteHandler: true });
2626

2727
await page.goto(url);
2828

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should add an empty breadcrumb initialized with a timestamp, when an empty object is given',
9-
async ({ getLocalTestUrl, page }) => {
10-
const url = await getLocalTestUrl({ testDir: __dirname });
9+
async ({ getLocalTestPath, page }) => {
10+
const url = await getLocalTestPath({ testDir: __dirname });
1111

1212
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1313

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should add multiple breadcrumbs', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('should add multiple breadcrumbs', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1111

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should add a simple breadcrumb', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('should add a simple breadcrumb', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1111

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should add an empty breadcrumb initialized with a timestamp, when no argument is given',
9-
async ({ getLocalTestUrl, page }) => {
10-
const url = await getLocalTestUrl({ testDir: __dirname });
9+
async ({ getLocalTestPath, page }) => {
10+
const url = await getLocalTestPath({ testDir: __dirname });
1111

1212
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1313

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should capture an POJO', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('should capture an POJO', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1111

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

7-
sentryTest('should capture an empty object', async ({ getLocalTestUrl, page }) => {
8-
const url = await getLocalTestUrl({ testDir: __dirname });
7+
sentryTest('should capture an empty object', async ({ getLocalTestPath, page }) => {
8+
const url = await getLocalTestPath({ testDir: __dirname });
99

1010
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
1111

0 commit comments

Comments
 (0)