@@ -618,7 +618,7 @@ describe.each([
618618 } ) ;
619619 describe ( "unrecoverable errors" , ( ) => {
620620 // !FailsForLegacy because legacy does not have a retry limit and no mechanism to communicate unrecoverable errors.
621- it ( "throws, when reaching maximum number of retires for initial delayed event creation !FailsForLegacy" , async ( ) => {
621+ it ( "throws, when reaching maximum number of retries for initial delayed event creation !FailsForLegacy" , async ( ) => {
622622 const delayEventSendError = jest . fn ( ) ;
623623 ( client . _unstable_sendDelayedStateEvent as Mock < any > ) . mockRejectedValue (
624624 new MatrixError (
@@ -638,7 +638,7 @@ describe.each([
638638 expect ( delayEventSendError ) . toHaveBeenCalled ( ) ;
639639 } ) ;
640640 // !FailsForLegacy because legacy does not have a retry limit and no mechanism to communicate unrecoverable errors.
641- it ( "throws, when reaching maximum number of retires !FailsForLegacy" , async ( ) => {
641+ it ( "throws, when reaching maximum number of retries !FailsForLegacy" , async ( ) => {
642642 const delayEventRestartError = jest . fn ( ) ;
643643 ( client . _unstable_updateDelayedEvent as Mock < any > ) . mockRejectedValue (
644644 new MatrixError (
@@ -695,7 +695,7 @@ describe.each([
695695 manager . join ( [ focus ] , focusActive , unrecoverableError ) ;
696696 await jest . advanceTimersByTimeAsync ( 1 ) ;
697697
698- expect ( unrecoverableError ) . not . toHaveBeenCalledWith ( ) ;
698+ expect ( unrecoverableError ) . not . toHaveBeenCalled ( ) ;
699699 expect ( client . sendStateEvent ) . toHaveBeenCalled ( ) ;
700700 } ) ;
701701 } ) ;
0 commit comments