diff --git a/packages/core-web-tests/src/test_matchMedia.js b/packages/core-web-tests/src/test_matchMedia.js index 8c4cbe101..dfabb3be9 100644 --- a/packages/core-web-tests/src/test_matchMedia.js +++ b/packages/core-web-tests/src/test_matchMedia.js @@ -1,4 +1,10 @@ QUnit.test('matchMedia', assert => { const mql = window.matchMedia('(max-width: 200px)'); assert.equal(mql.matches, false); + + mql.addListener(() => { + console.log('listened'); + }); + + assert.ok(true, 'it worked'); });