File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,9 @@ exports["Option: sort"] = test => {
104
104
105
105
exports [ "Real CSS" ] = test => {
106
106
const testCases = fs . readdirSync ( path . join ( __dirname , "fixtures" ) ) ;
107
- const loadExpected = file =>
107
+ const readExpected = file =>
108
108
fs . readFileSync ( path . join ( __dirname , "expected" , file ) , "utf8" ) ;
109
- const loadInput = file =>
109
+ const readInput = file =>
110
110
fs . readFileSync ( path . join ( __dirname , "fixtures" , file ) , "utf8" ) ;
111
111
test . expect ( testCases . length ) ;
112
112
testCases . forEach ( testCase => {
@@ -119,8 +119,8 @@ exports["Real CSS"] = test => {
119
119
}
120
120
121
121
test . strictEqual (
122
- mqpacker . pack ( loadInput ( testCase ) , opts ) . css ,
123
- loadExpected ( testCase ) ,
122
+ mqpacker . pack ( readInput ( testCase ) , opts ) . css ,
123
+ readExpected ( testCase ) ,
124
124
testCase
125
125
) ;
126
126
} ) ;
You can’t perform that action at this time.
0 commit comments