aboutsummaryrefslogtreecommitdiff
path: root/test/test-database.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-04-04 17:06:06 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2020-04-05 19:57:37 +0300
commit668be6224b5db22e6c55afbb4bc676b7d1a149d9 (patch)
tree3b91b0226ce0db13d02d1e00b31ec09081266102 /test/test-database.js
parent867902523f43929393500574076f793c4f62c225 (diff)
add fake chrome.runtime.onMessage.removeListener
Diffstat (limited to 'test/test-database.js')
-rw-r--r--test/test-database.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test-database.js b/test/test-database.js
index c4bfb793..bab15aa4 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -27,7 +27,8 @@ require('fake-indexeddb/auto');
const chrome = {
runtime: {
onMessage: {
- addListener() { /* NOP */ }
+ addListener() { /* NOP */ },
+ removeListener() { /* NOP */ }
},
getURL(path2) {
return url.pathToFileURL(path.join(__dirname, '..', 'ext', path2.replace(/^\//, '')));