We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fa03b0 commit e700e66Copy full SHA for e700e66
packages/core/test/lib/base.test.ts
@@ -477,6 +477,15 @@ describe('BaseClient', () => {
477
});
478
479
480
+ test('adds installed integrations to sdk info', () => {
481
+ const client = new TestClient({ dsn: PUBLIC_DSN, integrations: [new TestIntegration()] });
482
+ client.setupIntegrations();
483
+ client.captureEvent({ message: 'message' }, undefined);
484
+ expect(TestBackend.instance!.event!.sdk).toEqual({
485
+ integrations: ['TestIntegration'],
486
+ });
487
488
+
489
test('normalizes event with default depth of 3', () => {
490
expect.assertions(1);
491
const client = new TestClient({ dsn: PUBLIC_DSN });
0 commit comments