aboutsummaryrefslogtreecommitdiff
path: root/setupTests.js
blob: 5f1e97dd8beef2b2b542fa7d729de8085c6c1fa2 (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() { return true; },
        removeListener: function() { return true; },
        addEventListener: function() { return true; },
        removeEventListener: function() { return true; },
        dispatchEvent: function() { return true; },
        onchange: function() { return true; }
    };
};