1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-14 22:55:44 +01:00

Merge branch 'master' into refactor-popup-filters-options

This commit is contained in:
Max Guglielmi 2017-05-27 22:42:03 +10:00
commit 92e743a67e
13 changed files with 37 additions and 24 deletions

View file

@ -164,6 +164,19 @@ test('Pop-up filter auto-closes when user clicks away', function() {
);
});
test('Can close all popup filters', function() {
// setup
popupFilter.open(0);
// act
popupFilter.closeAll();
// assert
deepEqual(popupFilter.isOpen(0), false,
'Pop-up filter closed after closeAll'
);
});
test('Can destroy and reset', function(){
// setup
popupFilter.destroy();