blob: 1b4e29f857943e297cea6b07116c7b1e69326719 (
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 }
}
}
|