1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
// todo tests
// - Confirm it exists and is a function
// - Returns an API instance
// - Make sure the cells we select are iterated over only.
// - Select 0 cells
// - 1 cell
// - A row
// - A column
// - All cells
// - Ensure that the callback function is passed four parameters
// - cell row index
// - cell column index
// - table loop counter
// - cell loop counter
// - Check that they are all integers
// - Ensure that the callback function is executed in the scope of an API instance which has the cell's index in its data set (and only that cell index)
describe( "cells- cells().every()", function() {
dt.libs( {
js: [ 'jquery', 'datatables' ],
css: [ 'datatables' ]
} );
describe("Check the defaults", function () {
dt.html( 'basic' );
it("Default should be null", function () {
});
});
});
|