aboutsummaryrefslogtreecommitdiff
path: root/setupTests.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-06-21 02:31:11 +0300
committerGravatar Vitaly Takmazov2023-06-21 02:31:11 +0300
commit3683dcaa362c7d34f05c69990c6c5630f448af94 (patch)
tree63ac55f7ab3eece81ee977dfec1adfae9b190837 /setupTests.js
parentf8b9f9bdb3af71d36d75a769976b72ddae519001 (diff)
webpack, jest: cleanup eslint warnings
Diffstat (limited to 'setupTests.js')
-rw-r--r--setupTests.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/setupTests.js b/setupTests.js
index 5f1e97dd..1b4e29f8 100644
--- a/setupTests.js
+++ b/setupTests.js
@@ -1,14 +1,14 @@
-import '@testing-library/jest-dom';
+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; }
- };
-};
+ addListener: function() { return true },
+ removeListener: function() { return true },
+ addEventListener: function() { return true },
+ removeEventListener: function() { return true },
+ dispatchEvent: function() { return true },
+ onchange: function() { return true }
+ }
+}