File: cells%28%29.indexes%28%29.js

package info (click to toggle)
datatables.js 1.10.13%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,232 kB
  • ctags: 1,329
  • sloc: xml: 10,249; php: 4,387; sh: 492; makefile: 21
file content (21 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// todo tests
// - Confirm it exists and is a function
// - Confirm it returns an API instance
// - For each cell selected
//   - Make sure row,column and visible column index info is being returned. and they are all integers
// - Hide column index 1 using `column().visible()` and check the index information for cells in columns 0, 1 and 2 (using a single selector to get them)
// - Create a new API instance with the API with the indexes passed in as the argument to the API constructor
describe( "cells- cells().indexes()", function() {
	dt.libs( {
		js:  [ 'jquery', 'datatables' ],
		css: [ 'datatables' ]
	} );

	describe("Check the defaults", function () {
		dt.html( 'basic' );
		it("Default should be null", function () {
				});

	});

});