File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
packages/core/src/__tests__/builder Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -145,22 +145,6 @@ describe('Responsive Styles', () => {
145145 expect ( result ) . toContain ( 'justifyContent: state.justifyContent || "flex-start"' ) ;
146146 } ) ;
147147
148- test ( 'should handle invalid code with escapeInvalidCode option' , ( ) => {
149- const block : BuilderElement = {
150- '@type' : '@builder.io/sdk:Element' ,
151- bindings : {
152- 'component.options.responsiveStyles.medium.flexDirection' : 'invalid code {' ,
153- 'component.options.responsiveStyles.small.flexDirection' : 'also invalid }' ,
154- } ,
155- } ;
156-
157- const result = getStyleStringFromBlock ( block , { escapeInvalidCode : true } ) ;
158-
159- // Should contain the escaped invalid code
160- expect ( result ) . toContain ( '`invalid code { [INVALID CODE]`' ) ;
161- expect ( result ) . toContain ( '`also invalid } [INVALID CODE]`' ) ;
162- } ) ;
163-
164148 test ( 'should handle empty bindings' , ( ) => {
165149 const block : BuilderElement = {
166150 '@type' : '@builder.io/sdk:Element' ,
You can’t perform that action at this time.
0 commit comments