@@ -54,7 +54,7 @@ describe('"minify" option', () => {
54
54
}
55
55
56
56
return {
57
- css : minifiedCss . css ,
57
+ code : minifiedCss . css ,
58
58
map : minifiedCss . map . toJSON ( ) ,
59
59
} ;
60
60
} ,
@@ -93,7 +93,7 @@ describe('"minify" option', () => {
93
93
} ) ;
94
94
95
95
return {
96
- css : minifiedCss . styles ,
96
+ code : minifiedCss . styles ,
97
97
// map: minifiedCss.sourceMap.toJSON(),
98
98
warnings : minifiedCss . warnings ,
99
99
} ;
@@ -139,21 +139,21 @@ describe('"minify" option', () => {
139
139
async ( data , inputMap , minimizerOptions ) => {
140
140
const [ input ] = Object . values ( data ) ;
141
141
return {
142
- css : `${ input } \n.one{color: red;}\n${ minimizerOptions . test } \n` ,
142
+ code : `${ input } \n.one{color: red;}\n${ minimizerOptions . test } \n` ,
143
143
map : inputMap ,
144
144
} ;
145
145
} ,
146
146
async ( data , inputMap , minimizerOptions ) => {
147
147
const [ input ] = Object . values ( data ) ;
148
148
return {
149
- css : `${ input } \n.two{color: red;}\n${ minimizerOptions . test } \n` ,
149
+ code : `${ input } \n.two{color: red;}\n${ minimizerOptions . test } \n` ,
150
150
map : inputMap ,
151
151
} ;
152
152
} ,
153
153
async ( data , inputMap , minimizerOptions ) => {
154
154
const [ input ] = Object . values ( data ) ;
155
155
return {
156
- css : `${ input } \n.three{color: red;}\n${ minimizerOptions . test } \n` ,
156
+ code : `${ input } \n.three{color: red;}\n${ minimizerOptions . test } \n` ,
157
157
map : inputMap ,
158
158
} ;
159
159
} ,
@@ -195,21 +195,21 @@ describe('"minify" option', () => {
195
195
async ( data , inputMap , minimizerOptions ) => {
196
196
const [ input ] = Object . values ( data ) ;
197
197
return {
198
- css : `${ input } \n.one{color: red;}\n${ minimizerOptions . test } \n` ,
198
+ code : `${ input } \n.one{color: red;}\n${ minimizerOptions . test } \n` ,
199
199
map : inputMap ,
200
200
} ;
201
201
} ,
202
202
async ( data , inputMap ) => {
203
203
const [ input ] = Object . values ( data ) ;
204
204
return {
205
- css : `${ input } \n.two{color: red;}\n` ,
205
+ code : `${ input } \n.two{color: red;}\n` ,
206
206
map : inputMap ,
207
207
} ;
208
208
} ,
209
209
async ( data , inputMap ) => {
210
210
const [ input ] = Object . values ( data ) ;
211
211
return {
212
- css : `${ input } \n.three{color: red;}\n` ,
212
+ code : `${ input } \n.three{color: red;}\n` ,
213
213
map : inputMap ,
214
214
} ;
215
215
} ,
0 commit comments