mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-18 08:29:50 +01:00
Continued increasing coverage
This commit is contained in:
parent
0b1f4b67f5
commit
8dee7d0cfb
15 changed files with 54 additions and 37 deletions
|
|
@ -127,6 +127,12 @@ test('Clear filters', function() {
|
|||
deepEqual(tf.getFiltersValue(), ['', '', '', '', '']);
|
||||
});
|
||||
|
||||
test('Can get feature', function() {
|
||||
var feature = tf.feature('help');
|
||||
deepEqual(typeof feature, 'object', 'Feature instance');
|
||||
deepEqual(feature.feature, 'help', 'Feature name');
|
||||
});
|
||||
|
||||
test('Get table data', function() {
|
||||
deepEqual(tf.getColValues(0),
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue