Fix formatting issues
This commit is contained in:
parent
2fec61e753
commit
5fa665835f
4 changed files with 18 additions and 23 deletions
|
|
@ -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'] } })
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue