File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dev-packages/e2e-tests/test-applications/node-profiling Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,14 @@ function assertUnpatechedRequire(cycle) {
99 }
1010}
1111
12- assertUnpatechedRequire ( 'at startup' ) ;
1312import * 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' ) ;
1715const wait = ms => new Promise ( resolve => setTimeout ( resolve , ms ) ) ;
1816
1917Sentry . init ( {
2018 dsn :
'https://[email protected] /6625302' , 21- // integrations: [nodeProfilingIntegration()],
19+ integrations : [ nodeProfilingIntegration ( ) ] ,
2220 tracesSampleRate : 1.0 ,
2321 profilesSampleRate : 1.0 ,
2422} ) ;
You can’t perform that action at this time.
0 commit comments