(str)
| 3 | import { Command } from '../index.js'; |
| 4 | |
| 5 | function red(str) { |
| 6 | // Use plain characters so not stripped in failure messages. (Means displayWidth is bogus though.) |
| 7 | return `RED ${str} DER`; |
| 8 | } |
| 9 | function stripRed(str) { |
| 10 | return str.replace(/RED /g, '').replace(/ DER/g, ''); |
| 11 | } |
no outgoing calls
no test coverage detected