package.test.table.table-impl.test.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ibm-gantt-chart Show documentation
Show all versions of ibm-gantt-chart Show documentation
IBM Gantt Chart Component, integrable in Vanilla, jQuery, or React Framework.
The newest version!
describe('Table implementation', function() {
describe('Use minimal table implementation', function() {
before(function() {
installDummyTable(Gantt);
});
after(function() {
uninstallDummyTable(Gantt);
});
it('Simple', function() {
const memModel = createResourceWidthActivitiesData();
return this.createGantt({ data: memModel }).then(function(gantt) {
expect($(gantt.table.getTableBody()).find('tr').length).to.equal(memModel.resources.data.length);
});
});
});
});