UNPKG

@bootstrap-styled/css-utils

Version:

Bootstrap mixins and utilities in javascript for bootstrap-styled.

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