FIX: topic discovery tests

This commit is contained in:
Régis Hanol
2016-08-24 22:53:43 +02:00
parent 7d600d9fee
commit 87f6aadb7e
3 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/* exported exists, count, present, blank, containsInstance, not, visible, invisible */
function exists(selector) {
return !!count(selector);
return count(selector) > 0;
}
function count(selector) {