mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-06-19 22:25:18 +02:00
19 lines
556 B
JavaScript
19 lines
556 B
JavaScript
requirejs(['test-config', '../src/core'], function(config, TableFilter){
|
|
|
|
QUnit.start();
|
|
|
|
var dom = require('dom'),
|
|
AlternateRows = require('modules/alternateRows').AlternateRows;
|
|
|
|
var tf = new TableFilter('demo', {
|
|
alternate_rows: true
|
|
});
|
|
tf.init();
|
|
|
|
module('Sanity checks');
|
|
test('AlternateRows component', function() {
|
|
deepEqual(tf.Cpt.alternateRows instanceof AlternateRows, true, 'AlternateRows constructor');
|
|
notEqual(tf.Cpt.alternateRows, null, 'AlternateRows instanciated');
|
|
});
|
|
|
|
}); |