diff options
Diffstat (limited to 'test/css-json.test.js')
-rw-r--r-- | test/css-json.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/css-json.test.js b/test/css-json.test.js index 66ecfeba..e4155ca3 100644 --- a/test/css-json.test.js +++ b/test/css-json.test.js @@ -23,9 +23,9 @@ import {formatRulesJson, generateRules, getTargets} from '../dev/generate-css-js /** */ function main() { test('css-json', () => { - for (const {cssFile, overridesCssFile, outputPath} of getTargets()) { + for (const {cssFilePath, overridesCssFilePath, outputPath} of getTargets()) { const actual = fs.readFileSync(outputPath, {encoding: 'utf8'}); - const expected = formatRulesJson(generateRules(cssFile, overridesCssFile)); + const expected = formatRulesJson(generateRules(cssFilePath, overridesCssFilePath)); expect(actual).toStrictEqual(expected); } }); |