UNPKG

@bootstrap-styled/css-utils

Version:

Bootstrap mixins and utilities in javascript for bootstrap-styled.

16 lines (14 loc) 586 B
import { fromJS } from 'immutable'; import { defaultProps, getFlexUtilities } from '../flex'; describe('bootstrap flex utility', () => { it('getFlexUtilities should return a list of css utilities', () => { const css = getFlexUtilities(defaultProps['$grid-breakpoints']); expect(css).not.toContain('undefined'); expect(css).not.toContain('null'); expect(fromJS({ css }).hashCode()).toEqual(632091713); }); it('getFlexUtilities should have arguments', () => { const css = getFlexUtilities(); expect(fromJS({ css }).hashCode()).toEqual(632091713); }); });