aboutsummaryrefslogtreecommitdiff
path: root/vnext/setupTests.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-11-08 17:34:42 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:58 +0300
commitc7a9dd1ec4d436c3893e2544d9b13bf46cfab2c8 (patch)
treedfd86598bf03b445ef71a3ed8f8eec72455725c3 /vnext/setupTests.js
parent968fcc490d273799a7dfcafcfbe3af537cf10180 (diff)
Cleanup ESLint warnings
Diffstat (limited to 'vnext/setupTests.js')
-rw-r--r--vnext/setupTests.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/vnext/setupTests.js b/vnext/setupTests.js
index b6aaf949..5f1e97dd 100644
--- a/vnext/setupTests.js
+++ b/vnext/setupTests.js
@@ -4,11 +4,11 @@ window.matchMedia = window.matchMedia || function() {
return {
matches: true,
media: '',
- addListener: function() { },
- removeListener: function() { },
- addEventListener: function() { },
- removeEventListener: function() { },
+ addListener: function() { return true; },
+ removeListener: function() { return true; },
+ addEventListener: function() { return true; },
+ removeEventListener: function() { return true; },
dispatchEvent: function() { return true; },
- onchange: function() { }
+ onchange: function() { return true; }
};
};