1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-04-26 20:16:38 +02:00

Removed col_date_type option from test-empty-cells-filtering

This commit is contained in:
Max Guglielmi 2016-09-25 12:16:42 +10:00
parent e73471e10a
commit b882404fe3

View file

@ -2,7 +2,8 @@
// issue 162 - https://github.com/koalyptus/TableFilter/issues/162
var tf = new TableFilter('demo', {
base_path: '../dist/tablefilter/',
col_date_type: ['DMY']
locale: 'en-GB',
col_types: ['date', 'string']
});
tf.init();
@ -17,7 +18,7 @@
// assert
deepEqual(tf.getValidRows().length, 0, 'Expected filtered rows');
});
test('Can filter DMY date type', function(){
test('Can filter dd.MM.yyyy date type', function(){
// setup
tf.clearFilters();
// act