Example #1
0
 beforeEach(() => {
   extend.__Rewire__('warning', (condition, message) => {
     warning = message
   })
   jss = create(settings).use(
     extend(),
     nested(),
     expand()
   )
 })
Example #2
0
export default (options = {}) => ({
  plugins: [
    template(options.template),
    global(options.global),
    extend(options.extend),
    nested(options.nested),
    compose(options.compose),
    camelCase(options.camelCase),
    defaultUnit(options.defaultUnit),
    expand(options.expand),
    vendorPrefixer(options.vendorPrefixer),
    propsSort(options.propsSort)
  ]
})