Skip to content

Commit fe6bacb

Browse files
committed
fix tests
1 parent 3d36ae0 commit fe6bacb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dev-packages/browser-integration-tests/suites/tracing/setSpanActive/default/subject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const checkoutSpan = Sentry.startInactiveSpan({ name: 'checkout-flow' });
2-
Sentry.setSpanActive(checkoutSpan);
2+
Sentry.setActiveSpanInBrowser(checkoutSpan);
33

44
Sentry.startSpan({ name: 'checkout-step-1' }, () => {
55
Sentry.startSpan({ name: 'checkout-step-1-1' }, () => {

dev-packages/browser-integration-tests/suites/tracing/setSpanActive/nested-parentAlwaysRoot/subject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const checkoutSpan = Sentry.startInactiveSpan({ name: 'checkout-flow' });
2-
Sentry.setSpanActive(checkoutSpan);
2+
Sentry.setActiveSpanInBrowser(checkoutSpan);
33

44
Sentry.startSpan({ name: 'checkout-step-1' }, () => {});
55

66
const checkoutStep2 = Sentry.startInactiveSpan({ name: 'checkout-step-2' });
7-
Sentry.setSpanActive(checkoutStep2);
7+
Sentry.setActiveSpanInBrowser(checkoutStep2);
88

99
Sentry.startSpan({ name: 'checkout-step-2-1' }, () => {
1010
// ... `

dev-packages/browser-integration-tests/suites/tracing/setSpanActive/nested/subject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
const checkoutSpan = Sentry.startInactiveSpan({ name: 'checkout-flow' });
2-
Sentry.setSpanActive(checkoutSpan);
2+
Sentry.setActiveSpanInBrowser(checkoutSpan);
33

44
Sentry.startSpan({ name: 'checkout-step-1' }, () => {});
55

66
const checkoutStep2 = Sentry.startInactiveSpan({ name: 'checkout-step-2' });
7-
Sentry.setSpanActive(checkoutStep2);
7+
Sentry.setActiveSpanInBrowser(checkoutStep2);
88

99
Sentry.startSpan({ name: 'checkout-step-2-1' }, () => {
1010
// ... `

0 commit comments

Comments
 (0)