MCPcopy
hub / github.com/csscomb/csscomb.js / readFile

Method readFile

test/options/option_test.js:47–51  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

45 }
46
47 readFile(filename) {
48 let dirname = path.dirname(this.file);
49 let filePath = path.join(dirname, this.syntax, filename);
50 return fs.readFileSync(filePath, 'utf8');
51 }
52}
53
54module.exports = OptionTest;

Callers 5

getErrorsMethod · 0.95
shouldBeEqualMethod · 0.95
test.jsFile · 0.45
test.jsFile · 0.45
test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected