diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/completion_test.coffee | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/completion_test.coffee b/tests/completion_test.coffee index edb1b59f..531d06b1 100644 --- a/tests/completion_test.coffee +++ b/tests/completion_test.coffee @@ -50,6 +50,7 @@ context "domain completer", @history2 = { title: "history2", url: "http://history2.com", lastVisitTime: hours(1) } stub(HistoryCache, "use", (onComplete) => onComplete([@history1, @history2])) + global.chrome.history = { onVisited: { addListener: -> } } stub(Date, "now", returns(hours(24))) @completer = new DomainCompleter() |
