15 lines
232 B
JavaScript
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()
|
|
})
|