Fix formatting issues

This commit is contained in:
Adam Wathan 2021-05-20 13:43:17 -04:00
parent 2fec61e753
commit 5fa665835f
4 changed files with 18 additions and 23 deletions

View file

@ -1768,9 +1768,10 @@ test('plugins with extra options can be created using the `createPlugin.withOpti
test('plugins should cache correctly', () => {
const plugin = createPlugin.withOptions(
({ className = 'banana' } = {}) => ({ addComponents, variants }) => {
addComponents({ [`.${className}`]: { position: 'absolute' } }, variants('testPlugin'))
},
({ className = 'banana' } = {}) =>
({ addComponents, variants }) => {
addComponents({ [`.${className}`]: { position: 'absolute' } }, variants('testPlugin'))
},
() => ({ variants: { testPlugin: ['responsive'] } })
)