Skip to content

Commit cee7f40

Browse files
nicohrubecclaude
andcommitted
test(core): Init client in integration attribute tests so _integrations is populated
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 585ce8c commit cee7f40

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/core/test/lib/tracing/spans/captureSpan.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ describe('captureSpan', () => {
250250
},
251251
}),
252252
);
253+
client.init();
253254

254255
const span = withScope(scope => {
255256
scope.setClient(client);
@@ -297,6 +298,7 @@ describe('captureSpan', () => {
297298
integrations: [{ name: 'InboundFilters', setupOnce: () => {} }],
298299
}),
299300
);
301+
client.init();
300302

301303
const serializedChild = withScope(scope => {
302304
scope.setClient(client);

0 commit comments

Comments
 (0)