Skip to content

Commit

Permalink
feat(v8/tracing): Delete BrowserTracing class (#10919)
Browse files Browse the repository at this point in the history
With this PR and
#10918 merged, we can
move all of the browser tracing related code into `@sentry/browser`.
That will allow us to delete `@sentry-internal/tracing` and stop
publishing it.

ref #9885
  • Loading branch information
AbhiPrasad authored Mar 5, 2024
1 parent 0a0f733 commit 3da0839
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 458 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sentryTest(

expect(requestCount).toBe(0);
expect(consoleMessages).toEqual([
'You are using new BrowserTracing() even though this bundle does not include tracing.',
'You are using browserTracingIntegration() even though this bundle does not include tracing.',
]);
},
);
2 changes: 1 addition & 1 deletion packages/integration-shims/src/BrowserTracing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { consoleSandbox } from '@sentry/utils';
export const browserTracingIntegrationShim = defineIntegration((_options?: unknown) => {
consoleSandbox(() => {
// eslint-disable-next-line no-console
console.warn('You are using new BrowserTracing() even though this bundle does not include tracing.');
console.warn('You are using browserTracingIntegration() even though this bundle does not include tracing.');
});

return {
Expand Down
Loading

0 comments on commit 3da0839

Please sign in to comment.