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:
commit
92e743a67e
13 changed files with 37 additions and 24 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue