mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Update match-media-mock tests
This commit is contained in:
@@ -7,7 +7,7 @@ matchMediaMock('(max-width: 991px)').matches // false
|
||||
matchMediaMock('(max-width: 1240px)').matches // true
|
||||
|
||||
const mediaQueryList = matchMediaMock('(max-width: 991px)');
|
||||
const listener = (mql: MediaQueryList) => { };
|
||||
const listener = (mqle: MediaQueryListEvent) => { };
|
||||
|
||||
mediaQueryList.addListener(listener)
|
||||
mediaQueryList.removeListener(listener)
|
||||
|
||||
Reference in New Issue
Block a user