File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
dev-packages/e2e-tests/test-applications/node-profiling Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,21 @@ function assertUnpatechedRequire(cycle) {
1010}
1111
1212assertUnpatechedRequire ( 'at startup' ) ;
13- // import * as Sentry from '@sentry/node';
13+ import * as Sentry from '@sentry/node' ;
1414// assertUnpatechedRequire('after importing sentry/node');
1515// import { nodeProfilingIntegration } from '@sentry/profiling-node';
1616// assertUnpatechedRequire('after importing sentry/profiling-node');
1717// const wait = ms => new Promise(resolve => setTimeout(resolve, ms));
1818
19- // Sentry.init({
20- // dsn: 'https://[email protected] /6625302',21- // integrations: [nodeProfilingIntegration()],
22- // tracesSampleRate: 1.0,
23- // profilesSampleRate: 1.0,
24- // });
19+ Sentry . init ( {
20+ dsn :
'https://[email protected] /6625302' , 21+ // integrations: [nodeProfilingIntegration()],
22+ tracesSampleRate : 1.0 ,
23+ profilesSampleRate : 1.0 ,
24+ } ) ;
2525
26- // Sentry.startSpan({ name: 'Precompile test' }, async () => {
27- // await wait(500);
28- // });
26+ Sentry . startSpan ( { name : 'Precompile test' } , async ( ) => {
27+ await wait ( 500 ) ;
28+ } ) ;
2929
30- // assertUnpatechedRequire('after a span was created');
30+ assertUnpatechedRequire ( 'after a span was created' ) ;
You can’t perform that action at this time.
0 commit comments