File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ describe('useHotKey', () => {
4040 expect ( mockCallback ) . not . toHaveBeenCalled ( )
4141 } )
4242
43- it ( 'should not invoke callback by default, when a modal is shown' , async ( ) => {
43+ it ( 'should not invoke callback by default, when a modal is shown' , ( ) => {
4444 const modal = document . createElement ( 'div' )
4545 modal . className = 'modal-mask'
4646 document . body . appendChild ( modal )
@@ -53,7 +53,7 @@ describe('useHotKey', () => {
5353 expect ( mockCallback ) . not . toHaveBeenCalled ( )
5454 } )
5555
56- it ( 'should invoke callback by default, when a modal present but hidden' , async ( ) => {
56+ it ( 'should invoke callback by default, when a modal present but hidden' , ( ) => {
5757 const modal = document . createElement ( 'div' )
5858 modal . className = 'modal-mask'
5959 modal . style . display = 'none'
You can’t perform that action at this time.
0 commit comments