(name)
| 5 | const cssstats = require('..') |
| 6 | |
| 7 | function fixture(name) { |
| 8 | return fs |
| 9 | .readFileSync(path.join(__dirname, 'fixtures/' + name + '.css'), 'utf8') |
| 10 | .toString() |
| 11 | .trim() |
| 12 | } |
| 13 | |
| 14 | module.exports.fixture = fixture |
| 15 | module.exports.getStatsForFixture = (fixtureName, options = {}) => { |
no outgoing calls
no test coverage detected
searching dependent graphs…