Skip to content

Commit

Permalink
fix(tracing): Make sure BrowserTracing is exported in CDN correctly (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad authored Aug 28, 2020
1 parent 748494f commit 1038bbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tracing/src/index.bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if (_window.Sentry && _window.Sentry.Integrations) {
const INTEGRATIONS = {
...windowIntegrations,
...BrowserIntegrations,
...BrowserTracing,
BrowserTracing,
};

export { INTEGRATIONS as Integrations };
Expand Down
9 changes: 9 additions & 0 deletions packages/tracing/test/index.bundle.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { Integrations } from '../src/index.bundle';

describe('Integrations export', () => {
it('is exported correctly', () => {
Object.values(Integrations).forEach(integration => {
expect(integration.id).toStrictEqual(expect.any(String));
});
});
});

0 comments on commit 1038bbe

Please sign in to comment.