Skip to content

Commit 7245e18

Browse files
committed
fix tracing tests
1 parent 1e8a5f2 commit 7245e18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/tracing/test/idletransaction.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export class SimpleTransport extends Transports.BaseTransport {}
1414
const dsn = 'https://[email protected]/42';
1515
let hub: Hub;
1616
beforeEach(() => {
17-
hub = new Hub(new BrowserClient({ dsn, tracesSampleRate: 1, transport: SimpleTransport }));
17+
const options = { dsn, tracesSampleRate: 1, transport: SimpleTransport };
18+
hub = new Hub(new BrowserClient(options, new SimpleTransport(options)));
1819
});
1920

2021
describe('IdleTransaction', () => {

0 commit comments

Comments
 (0)