Skip to content

Commit 4626a4e

Browse files
committed
test profiling
1 parent 98e4eec commit 4626a4e

File tree

1 file changed

+3
-5
lines changed
  • dev-packages/e2e-tests/test-applications/node-profiling

1 file changed

+3
-5
lines changed

dev-packages/e2e-tests/test-applications/node-profiling/index.mjs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ function assertUnpatechedRequire(cycle) {
99
}
1010
}
1111

12-
assertUnpatechedRequire('at startup');
1312
import * as Sentry from '@sentry/node';
14-
// assertUnpatechedRequire('after importing sentry/node');
15-
// import { nodeProfilingIntegration } from '@sentry/profiling-node';
16-
// assertUnpatechedRequire('after importing sentry/profiling-node');
13+
import { nodeProfilingIntegration } from '@sentry/profiling-node';
14+
assertUnpatechedRequire('after importing sentry/profiling-node');
1715
const wait = ms => new Promise(resolve => setTimeout(resolve, ms));
1816

1917
Sentry.init({
2018
dsn: 'https://7fa19397baaf433f919fbe02228d5470@o1137848.ingest.sentry.io/6625302',
21-
// integrations: [nodeProfilingIntegration()],
19+
integrations: [nodeProfilingIntegration()],
2220
tracesSampleRate: 1.0,
2321
profilesSampleRate: 1.0,
2422
});

0 commit comments

Comments
 (0)