Alex Potsides 0264eb62ee
chore: update example tests (#1126)
Remove some of the redundancy in the example tests
2022-01-20 13:33:01 +00:00

15 lines
303 B
JavaScript

'use strict'
const path = require('path')
const { waitForOutput } = require('../utils')
async function test () {
process.stdout.write('3.js\n')
await waitForOutput('node 3 failed to dial to node 1 with:', 'node', [path.join(__dirname, '3.js')], {
cwd: __dirname
})
}
module.exports = test