diff options
| author | Stephen Blott | 2014-10-30 07:48:00 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-10-30 07:48:00 +0000 | 
| commit | 8afdaabd2e66a3092bc2b122443956327e0ba679 (patch) | |
| tree | 14c28a3191ebceb3b1859487e3f712fb964d4d80 /tests/unit_tests/test_chrome_stubs.coffee | |
| parent | a277fa6332f3aa3c0aa5f2c541f539fb1569c6b9 (diff) | |
| parent | 1bba5d27ab548b2a05e987695653ecf07cdb337c (diff) | |
| download | vimium-8afdaabd2e66a3092bc2b122443956327e0ba679.tar.bz2 | |
Merge branch 'fix-tests' of github.com:mrmr1993/vimium
Diffstat (limited to 'tests/unit_tests/test_chrome_stubs.coffee')
| -rw-r--r-- | tests/unit_tests/test_chrome_stubs.coffee | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/unit_tests/test_chrome_stubs.coffee b/tests/unit_tests/test_chrome_stubs.coffee index 9622f85f..2abd26c9 100644 --- a/tests/unit_tests/test_chrome_stubs.coffee +++ b/tests/unit_tests/test_chrome_stubs.coffee @@ -5,10 +5,10 @@  # It also provides stubs for a number of other chrome APIs.  # -global.window = {} -global.localStorage = {} +exports.window = {} +exports.localStorage = {} -global.chrome = +exports.chrome =    runtime:      getManifest: () ->        version: "1.2.3" @@ -56,6 +56,9 @@ global.chrome =            items[key] = {}            @func(items,'synced storage stub') +    session: +      MAX_SESSION_RESULTS: 25 +      # chrome.storage.sync      sync:        store: {}  | 
