File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ test("Bottom stacked has correct styles", async () => {
9595 expect ( style1 . left ) . toBe ( "0px" ) ;
9696 expect ( style1 . top ) . toBe ( "" ) ;
9797 expect ( style1 . right ) . toBe ( "0px" ) ;
98- expect ( style1 . bottom ) . toBe ( "calc(10px + 0px )" ) ;
98+ expect ( style1 . bottom ) . toBe ( "calc(0px + 10px )" ) ;
9999 expect ( style1 . width ) . toBe ( "" ) ;
100100 expect ( style1 . height ) . toBe ( "10px" ) ;
101101} ) ;
@@ -123,7 +123,7 @@ test("Bottom stacked reversed has correct styles", async () => {
123123 expect ( style1 . left ) . toBe ( "0px" ) ;
124124 expect ( style1 . top ) . toBe ( "" ) ;
125125 expect ( style1 . right ) . toBe ( "0px" ) ;
126- expect ( style1 . bottom ) . toBe ( "calc(10px + 0px )" ) ;
126+ expect ( style1 . bottom ) . toBe ( "calc(0px + 10px )" ) ;
127127 expect ( style1 . width ) . toBe ( "" ) ;
128128 expect ( style1 . height ) . toBe ( "10px" ) ;
129129} ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ test("Left stacked has correct styles", async () => {
9292 const sut1 = container . querySelector ( "#test1" ) ! ;
9393 const style1 = window . getComputedStyle ( sut1 ) ;
9494
95- expect ( style1 . left ) . toBe ( "calc(10px + 0px )" ) ;
95+ expect ( style1 . left ) . toBe ( "calc(0px + 10px )" ) ;
9696 expect ( style1 . top ) . toBe ( "0px" ) ;
9797 expect ( style1 . right ) . toBe ( "" ) ;
9898 expect ( style1 . bottom ) . toBe ( "0px" ) ;
@@ -120,7 +120,7 @@ test("Left stacked reversed has correct styles", async () => {
120120 const sut1 = container . querySelector ( "#test1" ) ! ;
121121 const style1 = window . getComputedStyle ( sut1 ) ;
122122
123- expect ( style1 . left ) . toBe ( "calc(10px + 0px )" ) ;
123+ expect ( style1 . left ) . toBe ( "calc(0px + 10px )" ) ;
124124 expect ( style1 . top ) . toBe ( "0px" ) ;
125125 expect ( style1 . right ) . toBe ( "" ) ;
126126 expect ( style1 . bottom ) . toBe ( "0px" ) ;
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ test("Right stacked has correct styles", async () => {
9494
9595 expect ( style1 . left ) . toBe ( "" ) ;
9696 expect ( style1 . top ) . toBe ( "0px" ) ;
97- expect ( style1 . right ) . toBe ( "calc(10px + 0px )" ) ;
97+ expect ( style1 . right ) . toBe ( "calc(0px + 10px )" ) ;
9898 expect ( style1 . bottom ) . toBe ( "0px" ) ;
9999 expect ( style1 . width ) . toBe ( "10px" ) ;
100100 expect ( style1 . height ) . toBe ( "" ) ;
@@ -122,7 +122,7 @@ test("Right stacked reversed has correct styles", async () => {
122122
123123 expect ( style1 . left ) . toBe ( "" ) ;
124124 expect ( style1 . top ) . toBe ( "0px" ) ;
125- expect ( style1 . right ) . toBe ( "calc(10px + 0px )" ) ;
125+ expect ( style1 . right ) . toBe ( "calc(0px + 10px )" ) ;
126126 expect ( style1 . bottom ) . toBe ( "0px" ) ;
127127 expect ( style1 . width ) . toBe ( "10px" ) ;
128128 expect ( style1 . height ) . toBe ( "" ) ;
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ test("Top stacked has correct styles", async () => {
9393 const style1 = window . getComputedStyle ( sut1 ) ;
9494
9595 expect ( style1 . left ) . toBe ( "0px" ) ;
96- expect ( style1 . top ) . toBe ( "calc(10px + 0px )" ) ;
96+ expect ( style1 . top ) . toBe ( "calc(0px + 10px )" ) ;
9797 expect ( style1 . right ) . toBe ( "0px" ) ;
9898 expect ( style1 . bottom ) . toBe ( "" ) ;
9999 expect ( style1 . width ) . toBe ( "" ) ;
@@ -121,9 +121,9 @@ test("Top stacked reversed has correct styles", async () => {
121121 const style1 = window . getComputedStyle ( sut1 ) ;
122122
123123 expect ( style1 . left ) . toBe ( "0px" ) ;
124- expect ( style1 . top ) . toBe ( "calc(10px + 0px )" ) ;
124+ expect ( style1 . top ) . toBe ( "calc(0px + 10px )" ) ;
125125 expect ( style1 . right ) . toBe ( "0px" ) ;
126- expect ( style1 . bottom ) . toBe ( "0px " ) ;
126+ expect ( style1 . bottom ) . toBe ( "" ) ;
127127 expect ( style1 . width ) . toBe ( "" ) ;
128128 expect ( style1 . height ) . toBe ( "10px" ) ;
129129} ) ;
You can’t perform that action at this time.
0 commit comments