From 24148c709806d1631f35cd8efd3fdec4f2376f92 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sun, 29 Oct 2017 12:51:53 +0000 Subject: Guard against undefined DomUtils, instead of stubbing in tests --- tests/unit_tests/commands_test.coffee | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/unit_tests/commands_test.coffee b/tests/unit_tests/commands_test.coffee index fcc7b821..49dd2570 100644 --- a/tests/unit_tests/commands_test.coffee +++ b/tests/unit_tests/commands_test.coffee @@ -6,7 +6,6 @@ global.Settings = {postUpdateHooks: {}, get: (-> ""), set: ->} # Include mode_normal to check that all commands have been implemented. global.KeyHandlerMode = global.Mode = {} -global.DomUtils = {makeXPath: ->} global.KeyboardUtils = {platform: ""} extend global, require "../../content_scripts/link_hints.js" extend global, require "../../content_scripts/marks.js" -- cgit v1.2.3