UNPKG

@tdb/util

Version:
19 lines (16 loc) 413 B
import { expect } from 'chai'; import { transformStyle } from '../css'; describe('Flex', () => { it('does not fail when undefined is passed', () => { const result = transformStyle({ Flex: undefined, }); expect(result).to.eql({}); }); it('does not fail when false is passed', () => { const result = transformStyle({ Flex: false, }); expect(result).to.eql({}); }); });