Skip to content

Commit 004f9a1

Browse files
committed
Fixed sporadic utils_test failure (which could be reproduced when settings_test did not precede utils_test)
1 parent 88cbe89 commit 004f9a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit_tests/utils_test.coffee

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require "./test_helper.js"
22
extend(global, require "../../lib/utils.js")
3+
Utils.getCurrentVersion = -> '1.43'
4+
global.localStorage = {}
35
extend(global, require "../../background_scripts/settings.js")
46

57
context "isUrl",

0 commit comments

Comments
 (0)