@@ -91,7 +91,6 @@ describe('SentryBrowser', () => {
9191 getCurrentScope ( ) . setUser ( EX_USER ) ;
9292 setCurrentClient ( client ) ;
9393
94- // eslint-disable-next-line deprecation/deprecation
9594 showReportDialog ( { eventId : 'foobar' } ) ;
9695
9796 expect ( getReportDialogEndpoint ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -106,7 +105,6 @@ describe('SentryBrowser', () => {
106105 setCurrentClient ( client ) ;
107106
108107 const DIALOG_OPTION_USER = { email : 'option@example.com' } ;
109- // eslint-disable-next-line deprecation/deprecation
110108 showReportDialog ( { eventId : 'foobar' , user : DIALOG_OPTION_USER } ) ;
111109
112110 expect ( getReportDialogEndpoint ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -140,7 +138,7 @@ describe('SentryBrowser', () => {
140138
141139 it ( 'should call `onClose` when receiving `__sentry_reportdialog_closed__` MessageEvent' , async ( ) => {
142140 const onClose = jest . fn ( ) ;
143- // eslint-disable-next-line deprecation/deprecation
141+
144142 showReportDialog ( { eventId : 'foobar' , onClose } ) ;
145143
146144 await waitForPostMessage ( '__sentry_reportdialog_closed__' ) ;
@@ -155,7 +153,7 @@ describe('SentryBrowser', () => {
155153 const onClose = jest . fn ( ( ) => {
156154 throw new Error ( ) ;
157155 } ) ;
158- // eslint-disable-next-line deprecation/deprecation
156+
159157 showReportDialog ( { eventId : 'foobar' , onClose } ) ;
160158
161159 await waitForPostMessage ( '__sentry_reportdialog_closed__' ) ;
@@ -168,7 +166,7 @@ describe('SentryBrowser', () => {
168166
169167 it ( 'should not call `onClose` for other MessageEvents' , async ( ) => {
170168 const onClose = jest . fn ( ) ;
171- // eslint-disable-next-line deprecation/deprecation
169+
172170 showReportDialog ( { eventId : 'foobar' , onClose } ) ;
173171
174172 await waitForPostMessage ( 'some_message' ) ;
0 commit comments