forgeplus-react/node_modules/jss-nested/benchmark/tests/bootstrap.js

15 lines
315 B
JavaScript

import {create} from 'jss'
import bootstrap from '../fixtures/modified-bootstrap.json'
import nested from '../../src/index'
suite('Nested bootstrap JSS to CSS', () => {
benchmark('.toString()', () => {
const jss = create().use(nested())
jss
.createStyleSheet(bootstrap)
.toString()
})
})