diff options
Diffstat (limited to 'devtools/client/webconsole/test/node/fixtures/async-storage.js')
-rw-r--r-- | devtools/client/webconsole/test/node/fixtures/async-storage.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devtools/client/webconsole/test/node/fixtures/async-storage.js b/devtools/client/webconsole/test/node/fixtures/async-storage.js new file mode 100644 index 0000000000..35ed2f594f --- /dev/null +++ b/devtools/client/webconsole/test/node/fixtures/async-storage.js @@ -0,0 +1,13 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +"use strict"; + +module.exports = { + getItem: () => Promise.resolve(), + setItem: () => Promise.resolve(), + removeItem: () => Promise.resolve(), + clear: () => Promise.resolve(), + length: () => Promise.resolve(), + key: () => Promise.resolve(), +}; |