File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
packages/core/src/__tests__/builder Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,6 @@ describe('Responsive Styles', () => {
3636 ) ;
3737 } ) ;
3838
39- test ( 'should handle direct responsiveStyles bindings correctly' , ( ) => {
40- const block : BuilderElement = {
41- '@type' : '@builder.io/sdk:Element' ,
42- bindings : {
43- 'responsiveStyles.medium.flexDirection' :
44- 'state.reverseColumnsWhenStacked ? "column-reverse" : "column"' ,
45- 'responsiveStyles.small.flexDirection' :
46- 'state.reverseColumnsWhenStacked ? "column-reverse" : "column"' ,
47- } ,
48- } ;
49-
50- const result = getStyleStringFromBlock ( block , options ) ;
51-
52- // Should contain both media queries
53- expect ( result ) . toContain ( '@media (max-width: 991px)' ) ;
54- expect ( result ) . toContain ( '@media (max-width: 640px)' ) ;
55-
56- // Should contain the correct flexDirection bindings
57- expect ( result ) . toContain (
58- 'flexDirection: state.reverseColumnsWhenStacked ? "column-reverse" : "column"' ,
59- ) ;
60- } ) ;
61-
6239 test ( 'should handle multiple responsive styles for the same breakpoint' , ( ) => {
6340 const block : BuilderElement = {
6441 '@type' : '@builder.io/sdk:Element' ,
You can’t perform that action at this time.
0 commit comments