aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-25 10:37:45 +0000
committerStephen Blott2016-03-25 10:37:45 +0000
commit69333f609bcdf3724ae639d7389750cfe18f4523 (patch)
tree6336da36b7b39bcb56b48880e88507e27279f0a1 /tests
parent326d6c486db97764123fdbeb68212624b9941da2 (diff)
downloadvimium-69333f609bcdf3724ae639d7389750cfe18f4523.tar.bz2
More selective integration with the tests.
This is a better way of stubing for the tests. Previously, if anything went wrong, there would actually be a visual effect for the user (the page would scroll). This way, that cannot happen.
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index d67b6c5d..517dce99 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -1,3 +1,4 @@
+window.vimiumDomTestsAreRunning = true
# Install frontend event handlers.
installListeners()