@@ -4,7 +4,7 @@ test('Should sort properties (array config)', () =>
4
4
{
5
5
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
6
6
} ,
7
- __dirname
7
+ __dirname ,
8
8
) ) ;
9
9
10
10
test ( 'Should sort prefixed properties before unprefixed property' , ( ) =>
@@ -13,7 +13,7 @@ test('Should sort prefixed properties before unprefixed property', () =>
13
13
{
14
14
'properties-order' : [ 'position' , '-webkit-box-sizing' , 'box-sizing' , 'width' ] ,
15
15
} ,
16
- __dirname
16
+ __dirname ,
17
17
) ) ;
18
18
19
19
test ( 'Should assign comments before and after declarations correctly (properties-order)' , ( ) =>
@@ -22,7 +22,7 @@ test('Should assign comments before and after declarations correctly (properties
22
22
{
23
23
'properties-order' : [ 'border-bottom' , 'font-style' ] ,
24
24
} ,
25
- __dirname
25
+ __dirname ,
26
26
) ) ;
27
27
28
28
test ( 'Should place the leftovers properties in the end (not specified)' , ( ) =>
@@ -31,7 +31,7 @@ test('Should place the leftovers properties in the end (not specified)', () =>
31
31
{
32
32
'properties-order' : [ 'position' , 'z-index' ] ,
33
33
} ,
34
- __dirname
34
+ __dirname ,
35
35
) ) ;
36
36
37
37
test ( 'Should place the leftovers properties in the end (bottom)' , ( ) =>
@@ -41,7 +41,7 @@ test('Should place the leftovers properties in the end (bottom)', () =>
41
41
'properties-order' : [ 'position' , 'z-index' ] ,
42
42
'unspecified-properties-position' : 'bottom' ,
43
43
} ,
44
- __dirname
44
+ __dirname ,
45
45
) ) ;
46
46
47
47
test ( 'Should place the leftovers properties in the beginning (top)' , ( ) =>
@@ -51,7 +51,7 @@ test('Should place the leftovers properties in the beginning (top)', () =>
51
51
'properties-order' : [ 'position' , 'z-index' ] ,
52
52
'unspecified-properties-position' : 'top' ,
53
53
} ,
54
- __dirname
54
+ __dirname ,
55
55
) ) ;
56
56
57
57
test ( 'Should place the leftovers properties in the end (bottomAlphabetical)' , ( ) =>
@@ -61,7 +61,7 @@ test('Should place the leftovers properties in the end (bottomAlphabetical)', ()
61
61
'properties-order' : [ 'position' , 'z-index' ] ,
62
62
'unspecified-properties-position' : 'bottomAlphabetical' ,
63
63
} ,
64
- __dirname
64
+ __dirname ,
65
65
) ) ;
66
66
67
67
test ( 'Should preserve order if properties have same name' , ( ) =>
@@ -70,7 +70,7 @@ test('Should preserve order if properties have same name', () =>
70
70
{
71
71
'properties-order' : [ 'position' , 'z-index' ] ,
72
72
} ,
73
- __dirname
73
+ __dirname ,
74
74
) ) ;
75
75
76
76
test ( 'Should preserve order if properties have same name' , ( ) =>
@@ -79,7 +79,7 @@ test('Should preserve order if properties have same name', () =>
79
79
{
80
80
'properties-order' : [ 'position' , 'z-index' ] ,
81
81
} ,
82
- __dirname
82
+ __dirname ,
83
83
) ) ;
84
84
85
85
test ( 'Should preserve order if properties have same name' , ( ) =>
@@ -88,7 +88,7 @@ test('Should preserve order if properties have same name', () =>
88
88
{
89
89
'properties-order' : 'alphabetical' ,
90
90
} ,
91
- __dirname
91
+ __dirname ,
92
92
) ) ;
93
93
94
94
test ( 'Should preserve order if properties have same name (case insensitive)' , ( ) =>
@@ -97,7 +97,7 @@ test('Should preserve order if properties have same name (case insensitive)', ()
97
97
{
98
98
'properties-order' : [ 'position' , 'z-index' ] ,
99
99
} ,
100
- __dirname
100
+ __dirname ,
101
101
) ) ;
102
102
103
103
test ( 'Should preserve order if properties have same name (case insensitive)' , ( ) =>
@@ -106,7 +106,7 @@ test('Should preserve order if properties have same name (case insensitive)', ()
106
106
{
107
107
'properties-order' : 'alphabetical' ,
108
108
} ,
109
- __dirname
109
+ __dirname ,
110
110
) ) ;
111
111
112
112
test ( `Should not remove first comment in the rule if it's not on separate line (properties-order)` , ( ) =>
@@ -115,7 +115,7 @@ test(`Should not remove first comment in the rule if it's not on separate line (
115
115
{
116
116
'properties-order' : [ 'display' ] ,
117
117
} ,
118
- __dirname
118
+ __dirname ,
119
119
) ) ;
120
120
121
121
test ( `Should sort declarations grouped together between not declarations (without comments)` , ( ) =>
@@ -124,7 +124,7 @@ test(`Should sort declarations grouped together between not declarations (withou
124
124
{
125
125
'properties-order' : [ 'display' , 'position' ] ,
126
126
} ,
127
- __dirname
127
+ __dirname ,
128
128
) ) ;
129
129
130
130
test ( `Should sort declarations grouped together between not declarations (with comments)` , ( ) =>
@@ -133,7 +133,7 @@ test(`Should sort declarations grouped together between not declarations (with c
133
133
{
134
134
'properties-order' : [ 'display' , 'position' ] ,
135
135
} ,
136
- __dirname
136
+ __dirname ,
137
137
) ) ;
138
138
139
139
test ( `Should sort declarations scattered everywhere (without comments)` , ( ) =>
@@ -142,7 +142,7 @@ test(`Should sort declarations scattered everywhere (without comments)`, () =>
142
142
{
143
143
'properties-order' : [ 'display' , 'position' ] ,
144
144
} ,
145
- __dirname
145
+ __dirname ,
146
146
) ) ;
147
147
148
148
test ( `Should sort declarations scattered everywhere (with comments)` , ( ) =>
@@ -151,7 +151,7 @@ test(`Should sort declarations scattered everywhere (with comments)`, () =>
151
151
{
152
152
'properties-order' : [ 'display' , 'position' ] ,
153
153
} ,
154
- __dirname
154
+ __dirname ,
155
155
) ) ;
156
156
157
157
test ( 'Should sort properties alphabetically' , ( ) =>
@@ -160,7 +160,7 @@ test('Should sort properties alphabetically', () =>
160
160
{
161
161
'properties-order' : 'alphabetical' ,
162
162
} ,
163
- __dirname
163
+ __dirname ,
164
164
) ) ;
165
165
166
166
test ( 'Should sort properties alphabetically regardless of case' , ( ) => {
@@ -169,7 +169,7 @@ test('Should sort properties alphabetically regardless of case', () => {
169
169
{
170
170
'properties-order' : 'alphabetical' ,
171
171
} ,
172
- __dirname
172
+ __dirname ,
173
173
) ;
174
174
} ) ;
175
175
@@ -179,7 +179,7 @@ test('Should sort shorthand properties before their longhand versions', () =>
179
179
{
180
180
'properties-order' : 'alphabetical' ,
181
181
} ,
182
- __dirname
182
+ __dirname ,
183
183
) ) ;
184
184
185
185
test ( 'Should sort prefixed properties before unprefixed property in alphabetical order' , ( ) =>
@@ -188,7 +188,7 @@ test('Should sort prefixed properties before unprefixed property in alphabetical
188
188
{
189
189
'properties-order' : 'alphabetical' ,
190
190
} ,
191
- __dirname
191
+ __dirname ,
192
192
) ) ;
193
193
194
194
test ( 'Should assign comments before and after declarations correctly (properties-order, alphabetical)' , ( ) =>
@@ -197,7 +197,7 @@ test('Should assign comments before and after declarations correctly (properties
197
197
{
198
198
'properties-order' : 'alphabetical' ,
199
199
} ,
200
- __dirname
200
+ __dirname ,
201
201
) ) ;
202
202
203
203
test ( `Preserve-empty-lines-between properties` , ( ) =>
@@ -206,7 +206,7 @@ test(`Preserve-empty-lines-between properties`, () =>
206
206
{
207
207
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
208
208
} ,
209
- __dirname
209
+ __dirname ,
210
210
) ) ;
211
211
212
212
test ( 'Should sort properties (styled)' , ( ) =>
@@ -215,7 +215,7 @@ test('Should sort properties (styled)', () =>
215
215
{
216
216
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
217
217
} ,
218
- __dirname
218
+ __dirname ,
219
219
) ) ;
220
220
221
221
test ( 'Should sort properties in nested rules (styled)' , ( ) =>
@@ -224,7 +224,7 @@ test('Should sort properties in nested rules (styled)', () =>
224
224
{
225
225
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
226
226
} ,
227
- __dirname
227
+ __dirname ,
228
228
) ) ;
229
229
230
230
test ( 'Should sort properties in css helper (styled)' , ( ) =>
@@ -233,7 +233,7 @@ test('Should sort properties in css helper (styled)', () =>
233
233
{
234
234
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
235
235
} ,
236
- __dirname
236
+ __dirname ,
237
237
) ) ;
238
238
239
239
test ( 'Ignore template literals in flat components (styled)' , ( ) =>
@@ -242,7 +242,7 @@ test('Ignore template literals in flat components (styled)', () =>
242
242
{
243
243
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
244
244
} ,
245
- __dirname
245
+ __dirname ,
246
246
) ) ;
247
247
248
248
test ( 'Ignore template literals in nested components (styled)' , ( ) =>
@@ -251,7 +251,7 @@ test('Ignore template literals in nested components (styled)', () =>
251
251
{
252
252
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
253
253
} ,
254
- __dirname
254
+ __dirname ,
255
255
) ) ;
256
256
257
257
test ( 'Should sort properties (html, <style> tag)' , ( ) =>
@@ -260,7 +260,7 @@ test('Should sort properties (html, <style> tag)', () =>
260
260
{
261
261
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
262
262
} ,
263
- __dirname
263
+ __dirname ,
264
264
) ) ;
265
265
266
266
test ( 'Should sort properties (html, style attribute)' , ( ) =>
@@ -269,5 +269,5 @@ test('Should sort properties (html, style attribute)', () =>
269
269
{
270
270
'properties-order' : [ 'position' , 'top' , 'display' , 'z-index' ] ,
271
271
} ,
272
- __dirname
272
+ __dirname ,
273
273
) ) ;
0 commit comments