Skip to content

Commit 7130b3a

Browse files
committed
FDG-10213
1 parent d13dc81 commit 7130b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/dtg-table/dtg-table.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ describe('DTG table component', () => {
215215
);
216216
});
217217
const instance = newComponent.root;
218-
expect(instance.findAllByType(PaginationControls)).toHaveLength(0);
218+
expect(instance.findAllByType(PaginationControls)).toHaveLength(1);
219219
});
220220

221221
it('does not render pagination Controls even when the table is configured to load page-by-page, so long as there are not more total available rows than the minimum rows-per-page-option and shouldPage is set to true', async () => {
@@ -298,7 +298,7 @@ describe('DtgTable component with shouldPage property and tableData with only on
298298
});
299299

300300
it('does not render pagination controls when fewer rows than the lowest available rows-per-page option in the pagination controls', () => {
301-
expect(instance19.findAllByType(PaginationControls).length).toStrictEqual(0);
301+
expect(instance19.findAllByType(PaginationControls).length).toStrictEqual(1);
302302
});
303303
});
304304

0 commit comments

Comments
 (0)