Skip to content

Commit 7d10a53

Browse files
committed
test: Remove comments from withMonitor scenario file
1 parent 4215d49 commit 7d10a53

File tree

1 file changed

+0
-5
lines changed
  • dev-packages/node-integration-tests/suites/public-api/withMonitor

1 file changed

+0
-5
lines changed

dev-packages/node-integration-tests/suites/public-api/withMonitor/scenario.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@ Sentry.init({
77
transport: loggingTransport,
88
});
99

10-
// First withMonitor call without isolateTrace
1110
// eslint-disable-next-line @sentry-internal/sdk/no-floating-promises
1211
Sentry.withMonitor('cron-job-1', async () => {
13-
// Simulate some work
1412
await new Promise<void>((resolve) => {
1513
setTimeout(() => {
1614
resolve();
@@ -20,10 +18,8 @@ Sentry.withMonitor('cron-job-1', async () => {
2018
schedule: { type: 'crontab', value: '* * * * *' },
2119
});
2220

23-
// Second withMonitor call with isolateTrace (should have different trace)
2421
// eslint-disable-next-line @sentry-internal/sdk/no-floating-promises
2522
Sentry.withMonitor('cron-job-2', async () => {
26-
// Simulate some work
2723
await new Promise<void>((resolve) => {
2824
setTimeout(() => {
2925
resolve();
@@ -34,7 +30,6 @@ Sentry.withMonitor('cron-job-2', async () => {
3430
isolateTrace: true,
3531
});
3632

37-
// Wait a bit for check-ins to complete before exiting
3833
setTimeout(() => {
3934
process.exit();
4035
}, 500);

0 commit comments

Comments
 (0)