(npm, npx)
| 28 | // these scripts should be kept in sync so this tests the contents of each |
| 29 | // and does a diff to ensure the only differences between them are necessary |
| 30 | const diffFiles = (npm, npx) => Diff.diffChars(npm, npx) |
| 31 | .filter(v => v.added || v.removed) |
| 32 | .reduce((acc, v) => { |
| 33 | if (v.value.length === 1) { |
| 34 | acc.letters.add(v.value.toUpperCase()) |
| 35 | } else { |
| 36 | acc.diff.push(v.value) |
| 37 | } |
| 38 | return acc |
| 39 | }, { diff: [], letters: new Set() }) |
| 40 | |
| 41 | t.plan(SHIM_EXTS.length) |
| 42 |
no test coverage detected