@@ -43,7 +43,7 @@ describe('sentrySvelteKit()', () => {
4343
4444 expect ( plugins ) . toBeInstanceOf ( Array ) ;
4545 // 1 auto instrument plugin + 5 source maps plugins
46- expect ( plugins ) . toHaveLength ( 7 ) ;
46+ expect ( plugins ) . toHaveLength ( 8 ) ;
4747 } ) ;
4848
4949 it ( 'returns the custom sentry source maps upload plugin, unmodified sourcemaps plugins and the auto-instrument plugin by default' , async ( ) => {
@@ -56,6 +56,7 @@ describe('sentrySvelteKit()', () => {
5656 'sentry-telemetry-plugin' ,
5757 'sentry-vite-release-injection-plugin' ,
5858 'sentry-vite-debug-id-injection-plugin' ,
59+ 'sentry-sveltekit-update-source-map-setting-plugin' ,
5960 // custom release plugin:
6061 'sentry-sveltekit-release-management-plugin' ,
6162 // custom source maps plugin:
@@ -86,7 +87,7 @@ describe('sentrySvelteKit()', () => {
8687 it ( "doesn't return the auto instrument plugin if autoInstrument is `false`" , async ( ) => {
8788 const plugins = await getSentrySvelteKitPlugins ( { autoInstrument : false } ) ;
8889 const pluginNames = plugins . map ( plugin => plugin . name ) ;
89- expect ( plugins ) . toHaveLength ( 6 ) ;
90+ expect ( plugins ) . toHaveLength ( 7 ) ;
9091 expect ( pluginNames ) . not . toContain ( 'sentry-upload-source-maps' ) ;
9192 } ) ;
9293
0 commit comments