aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCashew <52880648+Scrub1492@users.noreply.github.com>2023-12-19 13:53:03 +0900
committerGitHub <noreply@github.com>2023-12-19 04:53:03 +0000
commitae2e2db90945705c965b3a10e414bb142e492792 (patch)
treec5d0755db5713032c4302977a1985058d7f11b8d /test
parent6b07b1e6e158f718fd30c44878a72c3b6ad83fa0 (diff)
change *file to *filePath in function parameters (#385)
* change *file to *filePath * fix merge issues --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/css-json.test.js4
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);
}
});