Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: test/elemHide.js

Issue 29757584: Issue 6562 - Remove the unused provideFilterKeys parameter (Closed)
Patch Set: Created April 20, 2018, 6:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/elemHide.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/elemHide.js
diff --git a/test/elemHide.js b/test/elemHide.js
index 92040ccaf7c6e8602e33bc087b95f4a957b68e62..3af25ef76b9e4a7353e7ed2a844112a641c9985c 100644
--- a/test/elemHide.js
+++ b/test/elemHide.js
@@ -52,13 +52,6 @@ function testResult(test, domain, expectedSelectors, criteria)
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)
« no previous file with comments | « lib/elemHide.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld