(dataCollection: DataCollection)
| 475 | |
| 476 | describe('data collection', () => { |
| 477 | const setupClient = (dataCollection: DataCollection): void => { |
| 478 | init({ |
| 479 | dsn: 'https://username@domain/123', |
| 480 | defaultIntegrations: false, |
| 481 | transport: () => |
| 482 | SentryCore.createTransport({ recordDroppedEvent: () => undefined }, () => SentryCore.resolvedSyncPromise({})), |
| 483 | dataCollection, |
| 484 | }); |
| 485 | }; |
| 486 | |
| 487 | afterEach(() => { |
| 488 | SentryCore.getCurrentScope().setClient(undefined); |