Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed settimeout

  • Loading branch information...
commit 68e28392097bfef2913867053fde46e8d69c6d51 1 parent d79c8a6
Hans-Peter Buniat authored
Showing with 6 additions and 12 deletions.
  1. +6 −12 tests/unit/listview/listview_core.js
18 tests/unit/listview/listview_core.js
View
@@ -332,10 +332,8 @@
$searchPage.find('input').val('at');
$searchPage.find('input').trigger('change');
- setTimeout(function() {
- same($searchPage.find('li.ui-screen-hidden').length, 2);
- start();
- }, 1000);
+ same($searchPage.find('li.ui-screen-hidden').length, 2);
+ start();
}
]);
});
@@ -351,10 +349,8 @@
$searchPage.find('input').val('a');
$searchPage.find('input').trigger('change');
- setTimeout(function() {
- same($searchPage.find("li[style^='display: none;']").length, 0);
- start();
- }, 1000);
+ same($searchPage.find("li[style^='display: none;']").length, 0);
+ start();
}
]);
});
@@ -370,10 +366,8 @@
$searchPage.find('input').val('*');
$searchPage.find('input').trigger('change');
- setTimeout(function() {
- same($searchPage.find('li.ui-screen-hidden').length, 4);
- start();
- }, 1000);
+ same($searchPage.find('li.ui-screen-hidden').length, 4);
+ start();
}
]);
});
Please sign in to comment.
Something went wrong with that request. Please try again.