1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-15 15:15:45 +01:00
TableFilter/test/test-no-rows.js
2017-05-25 13:51:44 +10:00

10 lines
226 B
JavaScript

module('TableFilter with no rows');
test('throws when no rows', function() {
throws(
function() { new TableFilter('demo'); },
Error,
'Throws Error when DOM table does not contain rows'
);
});