aboutsummaryrefslogtreecommitdiff
path: root/vnext/setupTests.js
blob: b6aaf9496f979d5c2a2bd2febd8bb64a7d24bf9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import '@testing-library/jest-dom';

window.matchMedia = window.matchMedia || function() {
    return {
        matches: true,
        media: '',
        addListener: function() { },
        removeListener: function() { },
        addEventListener: function() { },
        removeEventListener: function() { },
        dispatchEvent: function() { return true; },
        onchange: function() { }
    };
};