worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
19
node_modules/css-to-react-native/src/__tests__/placeContent.js
generated
vendored
Normal file
19
node_modules/css-to-react-native/src/__tests__/placeContent.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import transformCss from '..'
|
||||
|
||||
it('transforms place content', () => {
|
||||
expect(transformCss([['place-content', 'center center']])).toEqual({
|
||||
alignContent: 'center',
|
||||
justifyContent: 'center',
|
||||
})
|
||||
})
|
||||
|
||||
it('transforms place content with one value', () => {
|
||||
expect(transformCss([['place-content', 'center']])).toEqual({
|
||||
alignContent: 'center',
|
||||
justifyContent: 'stretch',
|
||||
})
|
||||
})
|
||||
|
||||
it('does not allow justify content without align content', () => {
|
||||
expect(() => transformCss([['place-content', 'space-evenly']])).toThrow()
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue