(path)
| 381 | }); |
| 382 | |
| 383 | function loadTextFixture(path) { |
| 384 | let content = fs.readFileSync(path, { encoding: 'utf8' }); |
| 385 | let decoded = decodeUnicode(content); |
| 386 | let processed = processHelpString(decoded); |
| 387 | return processed.replace(/\n/g, EOL); |
| 388 | } |
| 389 | |
| 390 | function decodeUnicode(str) { |
| 391 | return str.replace(/\\u([\d\w]{4})/gi, function (match, grp) { |
no test coverage detected
searching dependent graphs…