Skip to content

Commit 11cfe2b

Browse files
committed
format
1 parent 861feee commit 11cfe2b

File tree

2 files changed

+14
-9
lines changed
  • dev-packages
    • browser-integration-tests/suites/tracing/ignoreSpans-streamed/segment
    • node-integration-tests/suites/tracing/ignoreSpans/children

2 files changed

+14
-9
lines changed

dev-packages/browser-integration-tests/suites/tracing/ignoreSpans-streamed/segment/subject.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ setTimeout(() => {
99
Sentry.startSpan({ name: 'child-span' }, () => {});
1010
});
1111
}, 1000);
12-

dev-packages/node-integration-tests/suites/tracing/ignoreSpans/children/server.js

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,21 @@ const app = express();
2121
app.use(cors());
2222

2323
app.get('/test/express', (_req, res) => {
24-
Sentry.startSpan({
25-
name: 'custom-to-drop',
26-
op: 'custom',
27-
}, () => {
28-
Sentry.startSpan({
29-
name: 'custom',
24+
Sentry.startSpan(
25+
{
26+
name: 'custom-to-drop',
3027
op: 'custom',
31-
}, () => {});
32-
});
28+
},
29+
() => {
30+
Sentry.startSpan(
31+
{
32+
name: 'custom',
33+
op: 'custom',
34+
},
35+
() => {},
36+
);
37+
},
38+
);
3339
res.send({ response: 'response 1' });
3440
});
3541

0 commit comments

Comments
 (0)