| 109 | }; |
| 110 | |
| 111 | const eOutputDoesNotContain = msg => { |
| 112 | if (_inspectE.output.join('\n').includes(msg)) { |
| 113 | throw new Error(`Expected console output (stderr) not to contain '${msg}' but it did`); |
| 114 | } |
| 115 | }; |
| 116 | |
| 117 | const noWarn = () => eOutputDoesNotContain('warn'); |
| 118 | const noError = () => eOutputDoesNotContain('error'); |