mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
|
import 'regenerator-runtime/runtime';
|
||
|
import '@testing-library/jest-dom/extend-expect';
|
||
|
|
||
|
Object.defineProperty(window, 'matchMedia', {
|
||
|
writable: true,
|
||
|
value: (query) => ({
|
||
|
matches: false,
|
||
|
media: query,
|
||
|
onchange: null,
|
||
|
addEventListener: jest.fn(),
|
||
|
removeEventListener: jest.fn(),
|
||
|
dispatchEvent: jest.fn(),
|
||
|
}),
|
||
|
});
|