diff --git a/tests/unit/treestyletab_prefUtils.test.js b/tests/unit/treestyletab_prefUtils.test.js index 0035ac22..e8a42d74 100644 --- a/tests/unit/treestyletab_prefUtils.test.js +++ b/tests/unit/treestyletab_prefUtils.test.js @@ -1,4 +1,5 @@ -var namespace = {}; +var namespace = { window : { addEventListener : function() {} } }; +utils.include('../../content/treestyletab/res/prefs.js', namespace, 'Shift_JIS'); utils.include('../../content/treestyletab/treestyletab.js', namespace, 'Shift_JIS'); var sv;