@@ -34,7 +34,7 @@ describe('addDatabaseInstrumentation', () => {
3434 const nitroConfig : NitroConfig = { } ;
3535 const moduleOptions : SentryNuxtModuleOptions = { debug : true } ;
3636
37- addDatabaseInstrumentation ( nitroConfig , moduleOptions ) ;
37+ addDatabaseInstrumentation ( nitroConfig , false , moduleOptions ) ;
3838
3939 expect ( consoleLogSpy ) . toHaveBeenCalledWith (
4040 '[Sentry] [Nitro Database Plugin]: No database configuration found. Skipping database instrumentation.' ,
@@ -45,15 +45,15 @@ describe('addDatabaseInstrumentation', () => {
4545 const nitroConfig : NitroConfig = { } ;
4646 const moduleOptions : SentryNuxtModuleOptions = { debug : false } ;
4747
48- addDatabaseInstrumentation ( nitroConfig , moduleOptions ) ;
48+ addDatabaseInstrumentation ( nitroConfig , false , moduleOptions ) ;
4949
5050 expect ( consoleLogSpy ) . not . toHaveBeenCalled ( ) ;
5151 } ) ;
5252
5353 it ( 'should not log debug message when moduleOptions is undefined' , ( ) => {
5454 const nitroConfig : NitroConfig = { } ;
5555
56- addDatabaseInstrumentation ( nitroConfig , undefined ) ;
56+ addDatabaseInstrumentation ( nitroConfig , false , undefined ) ;
5757
5858 expect ( consoleLogSpy ) . not . toHaveBeenCalled ( ) ;
5959 } ) ;
@@ -62,7 +62,7 @@ describe('addDatabaseInstrumentation', () => {
6262 const nitroConfig : NitroConfig = { } ;
6363 const moduleOptions : SentryNuxtModuleOptions = { } ;
6464
65- addDatabaseInstrumentation ( nitroConfig , moduleOptions ) ;
65+ addDatabaseInstrumentation ( nitroConfig , false , moduleOptions ) ;
6666
6767 expect ( consoleLogSpy ) . not . toHaveBeenCalled ( ) ;
6868 } ) ;
@@ -71,7 +71,7 @@ describe('addDatabaseInstrumentation', () => {
7171 const nitroConfig : NitroConfig = { experimental : { database : false } } ;
7272 const moduleOptions : SentryNuxtModuleOptions = { debug : true } ;
7373
74- addDatabaseInstrumentation ( nitroConfig , moduleOptions ) ;
74+ addDatabaseInstrumentation ( nitroConfig , false , moduleOptions ) ;
7575
7676 expect ( consoleLogSpy ) . toHaveBeenCalledWith (
7777 '[Sentry] [Nitro Database Plugin]: No database configuration found. Skipping database instrumentation.' ,
0 commit comments