UNPKG

css-to-react-native

Version:
9 lines (7 loc) 252 B
import transformCss from '..' it('transforms font weights as strings', () => { expect(transformCss([['font-weight', '400']])).toEqual({ fontWeight: '400' }) expect(transformCss([['font-weight', 'bold']])).toEqual({ fontWeight: 'bold', }) })