@@ -77,7 +77,7 @@ describe('FocusMixin', () => {
7777 ` ) ;
7878 setTimeout ( ( ) => el . focus ( ) ) ;
7979 const focusEv = await oneEvent ( el , 'focus' ) ;
80- expect ( focusEv ) . to . be . instanceOf ( FocusEvent ) ;
80+ expect ( focusEv ) . to . be . instanceOf ( Event ) ;
8181 expect ( focusEv . target ) . to . equal ( el ) ;
8282 expect ( focusEv . bubbles ) . to . be . false ;
8383 expect ( focusEv . composed ) . to . be . false ;
@@ -87,7 +87,7 @@ describe('FocusMixin', () => {
8787 el . blur ( ) ;
8888 } ) ;
8989 const blurEv = await oneEvent ( el , 'blur' ) ;
90- expect ( blurEv ) . to . be . instanceOf ( FocusEvent ) ;
90+ expect ( blurEv ) . to . be . instanceOf ( Event ) ;
9191 expect ( blurEv . target ) . to . equal ( el ) ;
9292 expect ( blurEv . bubbles ) . to . be . false ;
9393 expect ( blurEv . composed ) . to . be . false ;
@@ -99,7 +99,7 @@ describe('FocusMixin', () => {
9999 ` ) ;
100100 setTimeout ( ( ) => el . focus ( ) ) ;
101101 const focusinEv = await oneEvent ( el , 'focusin' ) ;
102- expect ( focusinEv ) . to . be . instanceOf ( FocusEvent ) ;
102+ expect ( focusinEv ) . to . be . instanceOf ( Event ) ;
103103 expect ( focusinEv . target ) . to . equal ( el ) ;
104104 expect ( focusinEv . bubbles ) . to . be . true ;
105105 expect ( focusinEv . composed ) . to . be . true ;
@@ -109,7 +109,7 @@ describe('FocusMixin', () => {
109109 el . blur ( ) ;
110110 } ) ;
111111 const focusoutEv = await oneEvent ( el , 'focusout' ) ;
112- expect ( focusoutEv ) . to . be . instanceOf ( FocusEvent ) ;
112+ expect ( focusoutEv ) . to . be . instanceOf ( Event ) ;
113113 expect ( focusoutEv . target ) . to . equal ( el ) ;
114114 expect ( focusoutEv . bubbles ) . to . be . true ;
115115 expect ( focusoutEv . composed ) . to . be . true ;
0 commit comments