File tree Expand file tree Collapse file tree 3 files changed +1
-3
lines changed
e2e-tests/test-applications/node-express-esm-loader/src
node-integration-tests/suites/esm/import-in-the-middle Expand file tree Collapse file tree 3 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,4 @@ Sentry.init({
55 dsn : process . env . E2E_TEST_DSN ,
66 tunnel : `http://localhost:3031/` , // proxy server
77 tracesSampleRate : 1 ,
8- registerEsmLoaderHooks : { onlyIncludeInstrumentedModules : true } ,
98} ) ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ Sentry.init({
1313 release : '1.0' ,
1414 autoSessionTracking : false ,
1515 transport : loggingTransport ,
16- registerEsmLoaderHooks : { onlyIncludeInstrumentedModules : true } ,
1716} ) ;
1817
1918await import ( './sub-module.mjs' ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ afterAll(() => {
66} ) ;
77
88conditionalTest ( { min : 18 } ) ( 'import-in-the-middle' , ( ) => {
9- test ( 'onlyIncludeInstrumentedModules ' , done => {
9+ test ( 'should only instrument modules that we have instrumentation for ' , done => {
1010 createRunner ( __dirname , 'app.mjs' ) . ensureNoErrorOutput ( ) . start ( done ) ;
1111 } ) ;
1212} ) ;
You can’t perform that action at this time.
0 commit comments