linx-simulator2/node_modules/reconnect-core/test/reset.js
2019-09-18 11:11:16 +03:00

15 lines
232 B
JavaScript

var inject = require('..')
var test = require('tape')
var Stream = require('stream')
var reconnect = inject(function () {
return new Stream
})
test('reset', function (t) {
// TODO real test
reconnect().reset()
t.end()
})