(stderr, stdout)
| 16 | |
| 17 | tmpdir.refresh(); |
| 18 | function checkOutput(stderr, stdout) { |
| 19 | // We allow failures as it's not always possible to resolve localhost. |
| 20 | // Functional tests are done in test/internet instead. |
| 21 | if (!stderr.startsWith('error:')) { |
| 22 | assert(stdout.includes('addresses: [')); |
| 23 | assert.strictEqual(stdout.trim().split('\n').length, 1); |
| 24 | } |
| 25 | } |
| 26 | { |
| 27 | const { stderr, stdout } = buildSnapshot(entry, env); |
| 28 | checkOutput(stderr, stdout); |
no test coverage detected
searching dependent graphs…