Skip to content

Commit f48a256

Browse files
authored
Update tests
1 parent 4e9cfec commit f48a256

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/__tests__/flex.js

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

7980
it('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

8688
it('transforms flex auto keyword', () => {
8789
expect(transformCss([['flex', 'auto']])).toEqual({
8890
flexGrow: 1,
8991
flexShrink: 1,
92+
flexBasis: 'auto',
9093
})
9194
})
9295

9396
it('transforms flex none keyword', () => {
9497
expect(transformCss([['flex', 'none']])).toEqual({
9598
flexGrow: 0,
9699
flexShrink: 0,
100+
flexBasis: 'auto',
97101
})
98102
})
99103

0 commit comments

Comments
 (0)