1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2024-06-21 07:05:30 +02:00
TableFilter/test/test-loader.js

18 lines
389 B
JavaScript
Raw Normal View History

2014-11-09 06:12:03 +01:00
2015-05-14 12:08:19 +02:00
var tf = new TableFilter('demo', {
base_path: '../dist/tablefilter/',
loader: true
});
tf.init();
2014-11-09 06:12:03 +01:00
2015-05-14 12:08:19 +02:00
module('Sanity checks');
test('Loader component', function() {
var loader = tf.feature('loader');
2015-05-14 12:08:19 +02:00
notEqual(loader, null, 'Loader instanciated');
notEqual(
document.getElementById(loader.prfxLoader+tf.id),
null,
'Loader DOM container'
);
});