Index: test/elemHide.js |
diff --git a/test/elemHide.js b/test/elemHide.js |
index 92040ccaf7c6e8602e33bc087b95f4a957b68e62..462df3ac7e8bfced9a5433e5d73ab3fded257a39 100644 |
--- a/test/elemHide.js |
+++ b/test/elemHide.js |
@@ -47,18 +47,10 @@ function testResult(test, domain, expectedSelectors, criteria) |
{ |
let normalizedExpectedSelectors = normalizeSelectors(expectedSelectors); |
- // Test without filter keys |
test.deepEqual( |
normalizeSelectors(ElemHide.getSelectorsForDomain(domain, criteria)), |
normalizedExpectedSelectors |
); |
- |
- // With filter keys |
- let [selectors, filterKeys] = ElemHide.getSelectorsForDomain(domain, criteria, |
- true); |
- test.deepEqual(filterKeys.map(k => ElemHide.getFilterByKey(k).selector), |
- selectors); |
- test.deepEqual(normalizeSelectors(selectors), normalizedExpectedSelectors); |
} |
exports.testGetSelectorsForDomain = function(test) |