1
0
Fork 0
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:
Max Guglielmi 2016-12-08 22:16:47 +11:00
commit 8dee7d0cfb
15 changed files with 54 additions and 37 deletions

View file

@ -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),
[