mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-17 16:10:04 +01:00
Addressed PR comments
This commit is contained in:
parent
866d34d538
commit
6b7ce2e4b4
1 changed files with 8 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
tf.init();
|
||||
|
||||
module('Sanity checks');
|
||||
test('No headers', function() {
|
||||
test('Grouped headers', function() {
|
||||
deepEqual(tf instanceof TableFilter, true, 'TableFilter instanciated');
|
||||
deepEqual(tf.getFiltersRowIndex(), 3, 'Filters row index');
|
||||
deepEqual(tf.getHeadersRowIndex(), 2, 'Headers row index');
|
||||
|
|
@ -78,4 +78,11 @@
|
|||
|
||||
//Grid-layout currently does not support grouped headers
|
||||
|
||||
module('Tear-down');
|
||||
test('TableFilter removed', function() {
|
||||
tf.clearFilters();
|
||||
tf.destroy();
|
||||
deepEqual(tf.hasGrid(), false, 'Filters removed');
|
||||
});
|
||||
|
||||
})(window, TableFilter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue