@@ -408,7 +408,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
408408 apiClient ,
409409 'listNotificationsForAuthenticatedUser' ,
410410 ) . mockResolvedValue (
411- [ ] satisfies Partial < ListNotificationsForAuthenticatedUserResponse > as any ,
411+ [ ] satisfies Partial < ListNotificationsForAuthenticatedUserResponse > ,
412412 ) ;
413413
414414 const stateWithBoth = {
@@ -441,7 +441,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
441441 describe ( 'markNotificationsAsRead' , ( ) => {
442442 it ( 'should mark notifications as read with success' , async ( ) => {
443443 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
444- { } as any ,
444+ undefined ,
445445 ) ;
446446
447447 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
@@ -535,7 +535,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
535535 ) . mockResolvedValue ( mockNotifications as any ) ;
536536
537537 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
538- { } as any ,
538+ undefined ,
539539 ) ;
540540
541541 const stateWithFetchRead = {
@@ -647,7 +647,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
647647 . mockResolvedValueOnce ( mockEnterpriseNotifications as any ) ;
648648
649649 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
650- { } as any ,
650+ undefined ,
651651 ) ;
652652
653653 const stateWithMultipleAccounts = {
@@ -733,7 +733,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
733733 ) . mockResolvedValue ( mockNotifications as any ) ;
734734
735735 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
736- { } as any ,
736+ undefined ,
737737 ) ;
738738
739739 const stateWithFetchRead = {
@@ -787,7 +787,7 @@ describe('renderer/hooks/useNotifications.ts', () => {
787787 describe ( 'markNotificationsAsDone' , ( ) => {
788788 it ( 'should mark notifications as done with success' , async ( ) => {
789789 vi . spyOn ( apiClient , 'markNotificationThreadAsDone' ) . mockResolvedValue (
790- { } as any ,
790+ undefined ,
791791 ) ;
792792
793793 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
@@ -853,10 +853,10 @@ describe('renderer/hooks/useNotifications.ts', () => {
853853 vi . spyOn (
854854 apiClient ,
855855 'ignoreNotificationThreadSubscription' ,
856- ) . mockResolvedValue ( { } as any ) ;
856+ ) . mockResolvedValue ( undefined ) ;
857857
858858 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
859- { } as any ,
859+ undefined ,
860860 ) ;
861861
862862 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
@@ -879,10 +879,10 @@ describe('renderer/hooks/useNotifications.ts', () => {
879879 vi . spyOn (
880880 apiClient ,
881881 'ignoreNotificationThreadSubscription' ,
882- ) . mockResolvedValue ( { } as any ) ;
882+ ) . mockResolvedValue ( undefined ) ;
883883
884884 vi . spyOn ( apiClient , 'markNotificationThreadAsDone' ) . mockResolvedValue (
885- { } as any ,
885+ undefined ,
886886 ) ;
887887
888888 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
@@ -938,10 +938,10 @@ describe('renderer/hooks/useNotifications.ts', () => {
938938 vi . spyOn (
939939 apiClient ,
940940 'ignoreNotificationThreadSubscription' ,
941- ) . mockResolvedValue ( { } as any ) ;
941+ ) . mockResolvedValue ( undefined ) ;
942942
943943 vi . spyOn ( apiClient , 'markNotificationThreadAsDone' ) . mockResolvedValue (
944- { } as any ,
944+ undefined ,
945945 ) ;
946946
947947 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
@@ -971,10 +971,10 @@ describe('renderer/hooks/useNotifications.ts', () => {
971971 vi . spyOn (
972972 apiClient ,
973973 'ignoreNotificationThreadSubscription' ,
974- ) . mockResolvedValue ( { } as any ) ;
974+ ) . mockResolvedValue ( undefined ) ;
975975
976976 vi . spyOn ( apiClient , 'markNotificationThreadAsRead' ) . mockResolvedValue (
977- { } as any ,
977+ undefined ,
978978 ) ;
979979
980980 const { result } = renderHook ( ( ) => useNotifications ( ) ) ;
0 commit comments