diff options
-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(/^\//, ''))); |