From ae2e2db90945705c965b3a10e414bb142e492792 Mon Sep 17 00:00:00 2001 From: Cashew <52880648+Scrub1492@users.noreply.github.com> Date: Tue, 19 Dec 2023 13:53:03 +0900 Subject: change *file to *filePath in function parameters (#385) * change *file to *filePath * fix merge issues --------- Co-authored-by: Darius Jahandarie --- test/css-json.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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); } }); -- cgit v1.2.3