1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-03-31 23:01:04 +00:00
Alex Potsides 0264eb62ee
chore: update example tests ()
Remove some of the redundancy in the example tests
2022-01-20 13:33:01 +00:00

15 lines
271 B
JavaScript

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