Skip to content

Commit

Permalink
feat(v8/tracing): Delete BrowserTracing class
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Mar 5, 2024
1 parent 166bfc9 commit fe07943
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 fe07943

Please sign in to comment.