aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorgdh19952016-02-21 01:20:46 +0800
committergdh19952016-02-21 01:20:46 +0800
commit2af20933795a1c9f6ff5d081822f9077d9183d50 (patch)
treeb82756af7014fb2bf7445822d6c3438aa3fedfc2 /tests/unit_tests
parent01e720e10400d208627b593d3d539b87d89902d0 (diff)
downloadvimium-2af20933795a1c9f6ff5d081822f9077d9183d50.tar.bz2
fix a crash of unit tests
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/test_chrome_stubs.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/test_chrome_stubs.coffee b/tests/unit_tests/test_chrome_stubs.coffee
index 8b816cd4..bbcd01e7 100644
--- a/tests/unit_tests/test_chrome_stubs.coffee
+++ b/tests/unit_tests/test_chrome_stubs.coffee
@@ -60,6 +60,8 @@ exports.chrome =
onRemoved:
addListener: () -> true
getAll: () -> true
+ onFocusChanged:
+ addListener: () -> true
browserAction:
setBadgeBackgroundColor: ->