Skip to content

Commit

Permalink
Add unit test for codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
vbabich committed Sep 20, 2024
1 parent 87b2f8e commit 8bf6500
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/iris-grid/src/IrisGridTreeTableModel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,13 @@ describe('IrisGridTreeTableModel layoutHints', () => {
expect(model.layoutHints).toEqual(undefined);
});
});

describe('IrisGridTreeTableModel values table', () => {
it('is available for tree tables', () => {
const columns = irisGridTestUtils.makeColumns();
const table = irisGridTestUtils.makeTreeTable(columns, columns, 100, []);
const model = new IrisGridTreeTableModel(dh, table);

expect(model.isValuesTableAvailable).toBe(true);
});
});

0 comments on commit 8bf6500

Please sign in to comment.