| Index: test/filterListener.js |
| =================================================================== |
| --- a/test/filterListener.js |
| +++ b/test/filterListener.js |
| @@ -24,18 +24,20 @@ let FilterStorage = null; |
| let Subscription = null; |
| let Filter = null; |
| let defaultMatcher = null; |
| let SpecialSubscription = null; |
| exports.setUp = function(callback) |
| { |
| sandboxedRequire = createSandbox({ |
| - elemHide: ["filterByKey", "exceptions"], |
| - cssRules: ["filters"] |
| + extraExports: { |
| + elemHide: ["filterByKey", "exceptions"], |
| + cssRules: ["filters"] |
| + } |
| }); |
| // We need to require the filterListener module so that filter changes will be |
| // noticed, even though we don't directly use the module here. |
| sandboxedRequire("../lib/filterListener"); |
| ( |
| {FilterStorage} = sandboxedRequire("../lib/filterStorage"), |