mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-19 23:06:42 +02:00
Addressed PR comments
This commit is contained in:
parent
866d34d538
commit
6b7ce2e4b4
|
@ -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…
Reference in a new issue