File size: 395 Bytes
5fae594
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
var common = require('../common');
var assert = common.assert;
var fake = common.fake.create();
var DelayedStream = common.DelayedStream;
var Stream = require('stream').Stream;

(function testPipeReleases() {
  var source = new Stream();
  var delayedStream = DelayedStream.create(source, {pauseStream: false});

  fake.expect(delayedStream, 'resume');
  delayedStream.pipe(new Stream());
})();