style: prettier-format the DataTable fixedLayout test
This commit is contained in:
@@ -37,9 +37,7 @@ describe("DataTable fixedLayout", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("omits the colgroup and stays auto-layout by default", () => {
|
it("omits the colgroup and stays auto-layout by default", () => {
|
||||||
const { container } = render(
|
const { container } = render(<DataTable rows={rows} columns={columns} rowKey={(r) => r.a} />);
|
||||||
<DataTable rows={rows} columns={columns} rowKey={(r) => r.a} />,
|
|
||||||
);
|
|
||||||
expect(container.querySelector("colgroup")).toBeNull();
|
expect(container.querySelector("colgroup")).toBeNull();
|
||||||
expect(container.querySelector("table")?.className).not.toContain("table-fixed");
|
expect(container.querySelector("table")?.className).not.toContain("table-fixed");
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user