@@ -10,19 +10,18 @@ test('plugins can create utilities', () => {
10
10
const [ components , utilities ] = processPlugins ( {
11
11
plugins : [
12
12
function ( { rule, addUtilities } ) {
13
- addUtilities (
14
- [
15
- rule ( '.object-fill' , {
16
- 'object-fit' : 'fill' ,
17
- } ) ,
18
- rule ( '.object-contain' , {
19
- 'object-fit' : 'contain' ,
20
- } ) ,
21
- rule ( '.object-cover' , {
22
- 'object-fit' : 'cover' ,
23
- } ) ,
13
+ addUtilities ( [
14
+ rule ( '.object-fill' , {
15
+ 'object-fit' : 'fill' ,
16
+ } ) ,
17
+ rule ( '.object-contain' , {
18
+ 'object-fit' : 'contain' ,
19
+ } ) ,
20
+ rule ( '.object-cover' , {
21
+ 'object-fit' : 'cover' ,
22
+ } ) ,
24
23
] )
25
- }
24
+ } ,
26
25
] ,
27
26
} )
28
27
@@ -57,8 +56,10 @@ test('plugins can create utilities with variants', () => {
57
56
rule ( '.object-cover' , {
58
57
'object-fit' : 'cover' ,
59
58
} ) ,
60
- ] , [ 'responsive' , 'hover' , 'group-hover' , 'focus' ] )
61
- }
59
+ ] ,
60
+ [ 'responsive' , 'hover' , 'group-hover' , 'focus' ]
61
+ )
62
+ } ,
62
63
] ,
63
64
} )
64
65
@@ -93,7 +94,7 @@ test('plugins can create components', () => {
93
94
'background-color' : 'darkblue' ,
94
95
} ) ,
95
96
] )
96
- }
97
+ } ,
97
98
] ,
98
99
} )
99
100
@@ -135,7 +136,7 @@ test('plugins can create components with media queries', () => {
135
136
} ) ,
136
137
] ) ,
137
138
] )
138
- }
139
+ } ,
139
140
] ,
140
141
} )
141
142
@@ -418,7 +419,7 @@ test("plugins can apply the user's chosen prefix", () => {
418
419
` )
419
420
} )
420
421
421
- test ( " utilities are escaped and automatically respect prefix and important options when created via `utility`" , ( ) => {
422
+ test ( ' utilities are escaped and automatically respect prefix and important options when created via `utility`' , ( ) => {
422
423
const [ , utilities ] = processPlugins ( {
423
424
plugins : [
424
425
function ( { utility, addUtilities } ) {
0 commit comments