Lines Matching refs:fs
16 const fs = require('fs');
47 const files = fs.readdirSync(directoryPath);
52 if (fs.statSync(filePath).isDirectory()) {
91 const hasExpectationFile = fs.existsSync(expectationPath);
92 const hasExpectationCache = fs.existsSync(expectationCachePath);
93 const hasResultCache = fs.existsSync(resultCachePath);
97 const hasExpectationUnobfuscation = fs.existsSync(expectUnobfuscationPath);
98 const hasResultUnobfuscation = fs.existsSync(resultUnobfuscationPath);
115 let actual = fs.readFileSync(filePath).toString();
116 let expectation = fs.readFileSync(expectationPath).toString();
121 let actual = fs.readFileSync(resultCachePath).toString();
122 let expectation = fs.readFileSync(expectationCachePath).toString();
127 let actual = fs.readFileSync(resultUnobfuscationPath).toString();
128 let expectation = fs.readFileSync(expectUnobfuscationPath).toString();