2017-01-04 04:09:18 +01:00
|
|
|
|
|
|
|
|
|
|
|
module('TableFilter with no rows');
|
|
|
|
test('throws when no rows', function() {
|
|
|
|
throws(
|
2017-05-25 05:51:44 +02:00
|
|
|
function() { new TableFilter('demo'); },
|
2017-01-04 04:09:18 +01:00
|
|
|
Error,
|
|
|
|
'Throws Error when DOM table does not contain rows'
|
|
|
|
);
|
|
|
|
});
|