File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -73,27 +73,31 @@ it('transforms flex shorthand with flex-basis set to auto', () => {
7373 expect ( transformCss ( [ [ 'flex' , '0 1 auto' ] ] ) ) . toEqual ( {
7474 flexGrow : 0 ,
7575 flexShrink : 1 ,
76+ flexBasis : 'auto' ,
7677 } )
7778} )
7879
7980it ( 'transforms flex shorthand with flex-basis set to auto appearing first' , ( ) => {
8081 expect ( transformCss ( [ [ 'flex' , 'auto 0 1' ] ] ) ) . toEqual ( {
8182 flexGrow : 0 ,
8283 flexShrink : 1 ,
84+ flexBasis : 'auto' ,
8385 } )
8486} )
8587
8688it ( 'transforms flex auto keyword' , ( ) => {
8789 expect ( transformCss ( [ [ 'flex' , 'auto' ] ] ) ) . toEqual ( {
8890 flexGrow : 1 ,
8991 flexShrink : 1 ,
92+ flexBasis : 'auto' ,
9093 } )
9194} )
9295
9396it ( 'transforms flex none keyword' , ( ) => {
9497 expect ( transformCss ( [ [ 'flex' , 'none' ] ] ) ) . toEqual ( {
9598 flexGrow : 0 ,
9699 flexShrink : 0 ,
100+ flexBasis : 'auto' ,
97101 } )
98102} )
99103
You can’t perform that action at this time.
0 commit comments