Skip to content

Commit 1038bbe

Browse files
authored
fix(tracing): Make sure BrowserTracing is exported in CDN correctly (getsentry#2855)
1 parent 748494f commit 1038bbe

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/tracing/src/index.bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ if (_window.Sentry && _window.Sentry.Integrations) {
6868
const INTEGRATIONS = {
6969
...windowIntegrations,
7070
...BrowserIntegrations,
71-
...BrowserTracing,
71+
BrowserTracing,
7272
};
7373

7474
export { INTEGRATIONS as Integrations };
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Integrations } from '../src/index.bundle';
2+
3+
describe('Integrations export', () => {
4+
it('is exported correctly', () => {
5+
Object.values(Integrations).forEach(integration => {
6+
expect(integration.id).toStrictEqual(expect.any(String));
7+
});
8+
});
9+
});

0 commit comments

Comments
 (0)