From 6f29a20f7143fb27ab2458a658086c3eaf6adeff Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Tue, 21 Nov 2023 23:57:28 +1100 Subject: [PATCH] not print big boi --- src/media-query.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/media-query.test.ts b/src/media-query.test.ts index 6bf2f22..1b2cbdc 100644 --- a/src/media-query.test.ts +++ b/src/media-query.test.ts @@ -618,4 +618,10 @@ test('matchMedia()', () => { 'only screen and (min-width: 480px) and (orientation: landscape) and (any-hover: hover)' ).matches ).toBe(true); + expect( + matchMedia( + screenSized(480, 100, 'touchscreen', 'mouse'), + 'not print and (min-width: 480px) and (orientation: landscape) and (any-hover: hover)' + ).matches + ).toBe(true); });