Skip to content

Commit 1f2e52f

Browse files
author
angelrosalesfastloop
committed
chore: fix tests
1 parent 54dfd80 commit 1f2e52f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/Box/Box.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("Box", () => {
3131
console.log($el.attr("style"));
3232
expect($el).to.have.attr(
3333
"style",
34-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row; flex: 0 1 auto;"
34+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row nowrap; flex: 0 1 auto"
3535
);
3636
});
3737
});
@@ -54,7 +54,7 @@ describe("Box", () => {
5454
cy.get("[data-test-id=view]").should(($el) => {
5555
expect($el).to.have.attr(
5656
"style",
57-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: wrap; flex: 1 1 auto; justify-content: flex-end; align-items: center;"
57+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row wrap; flex: 1 1 auto; justify-content: flex-end; align-items: center;"
5858
);
5959
});
6060
});

src/components/Stack/Stack.spec.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ describe("Stack", () => {
5353
cy.get('[data-test-id="stack"]').should(
5454
"have.attr",
5555
"style",
56-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: column; flex: 0 1 auto; gap: 24px;"
56+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: column nowrap; flex: 0 1 auto; gap: 24px;"
5757
);
5858
});
5959

@@ -71,7 +71,7 @@ describe("Stack", () => {
7171
cy.get('[data-test-id="stack"]').should(
7272
"have.attr",
7373
"style",
74-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row; flex: 0 1 auto; justify-content: space-between; width: 100%;"
74+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row nowrap; flex: 0 1 auto; justify-content: space-between; width: 100%;"
7575
);
7676
});
7777

@@ -88,7 +88,7 @@ describe("Stack", () => {
8888
cy.get('[data-test-id="stack"]').should(
8989
"have.attr",
9090
"style",
91-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: column; flex: 0 1 auto; justify-content: space-between; height: 100%;"
91+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: column nowrap; flex: 0 1 auto; justify-content: space-between; height: 100%;"
9292
);
9393
});
9494

@@ -106,7 +106,7 @@ describe("Stack", () => {
106106
cy.get('[data-test-id="stack"]').should(
107107
"have.attr",
108108
"style",
109-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: wrap; flex: 0 1 auto; gap: 24px;"
109+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row wrap; flex: 0 1 auto; gap: 24px;"
110110
);
111111
});
112112

@@ -125,7 +125,7 @@ describe("Stack", () => {
125125
cy.get('[data-test-id="stack"]').should(
126126
"have.attr",
127127
"style",
128-
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row; flex: 0 1 auto; gap: 24px;"
128+
"box-sizing: border-box; min-width: 0px; min-height: 0px; display: flex; flex-flow: row nowrap; flex: 0 1 auto; gap: 24px;"
129129
);
130130
});
131131

0 commit comments

Comments
 (0)