Skip to content

Commit 5524f60

Browse files
committed
fix browser unit test
1 parent a95ff21 commit 5524f60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/browser/test/tracing/browserTracingIntegration.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,10 @@ describe('browserTracingIntegration', () => {
804804

805805
startBrowserTracingNavigationSpan(client, { name: 'test span', op: 'navigation' });
806806

807-
expect(mockBeforeStartNavigationSpanCallback).toHaveBeenCalledWith({ name: 'test span', op: 'navigation' });
807+
expect(mockBeforeStartNavigationSpanCallback).toHaveBeenCalledWith(
808+
{ name: 'test span', op: 'navigation' },
809+
{ isRedirect: undefined },
810+
);
808811
});
809812
});
810813

0 commit comments

Comments
 (0)