diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-04-04 17:06:06 +0300 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-04-05 19:57:37 +0300 |
commit | 668be6224b5db22e6c55afbb4bc676b7d1a149d9 (patch) | |
tree | 3b91b0226ce0db13d02d1e00b31ec09081266102 /test/test-database.js | |
parent | 867902523f43929393500574076f793c4f62c225 (diff) |
add fake chrome.runtime.onMessage.removeListener
Diffstat (limited to 'test/test-database.js')
-rw-r--r-- | test/test-database.js | 3 |
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(/^\//, ''))); |