Index: test/elemHide.js |
diff --git a/test/elemHide.js b/test/elemHide.js |
index 85670d889619c84e2a07e24d3a1a6c65be0afe02..abab9ea37cd34c44951268dcf5df0d009509704d 100644 |
--- a/test/elemHide.js |
+++ b/test/elemHide.js |
@@ -17,15 +17,11 @@ |
"use strict"; |
-GLOBAL.Ci = {}; |
-GLOBAL.Cu = { |
- import: function() |
- { |
- } |
-}; |
+let {createSandbox} = require("common"); |
+let sandboxedRequire = createSandbox(); |
-let {ElemHide} = require("elemHide"); |
-let {Filter} = require("filterClasses"); |
+let {ElemHide} = sandboxedRequire("elemHide"); |
+let {Filter} = sandboxedRequire("filterClasses"); |
exports.testGetSelectorsForDomain = function(test) |
{ |