Skip to content

Commit 0d37136

Browse files
committed
remove repeated test:should handle direct responsiveStyles bindings correctly
1 parent b524d08 commit 0d37136

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

packages/core/src/__tests__/builder/responsive-styles.test.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)