refactor: added FlexLayout for flex layouts
This commit is contained in:
1 parent
06f0021660
commit
253eb39b19
6 files changed
+122
-42
No files matched your search
@@ -70,7 +70,6 @@ describe("Test renderStatsCard", () => {
|
||||
document.body.innerHTML = renderStatsCard(stats);
|
||||
|
||||
const styleTag = document.querySelector("style");
|
||||
console.log(styleTag.textContent);
|
||||
const stylesObject = cssToObject(styleTag.textContent);
|
||||
|
||||
const headerClassStyles = stylesObject[".header"];
|
||||
@@ -157,7 +156,6 @@ describe("Test renderStatsCard", () => {
|
||||
it("should not have icons if show_icons is false", () => {
|
||||
document.body.innerHTML = renderStatsCard(stats, { show_icons: false });
|
||||
|
||||
console.log(queryAllByTestId(document.body, "icon"));
|
||||
expect(queryAllByTestId(document.body, "icon")[0]).not.toBeDefined();
|
||||
expect(queryByTestId(document.body, "stars")).toBeDefined();
|
||||
expect(
|
||||
|
||||
Reference in new issue
Block a user