Sha256: 82d87ac8e10b23753bba69a54bc1c3ccfa308b22afe22c62b11c2d3c119aaef2
Contents?: true
Size: 544 Bytes
Versions: 119
Compression:
Stored size: 544 Bytes
Contents
var common = require('../common'); var assert = common.assert; var fake = common.fake.create(); var DelayedStream = common.DelayedStream; var Stream = require('stream').Stream; (function testAutoPause() { var source = new Stream(); fake.expect(source, 'pause', 1); var delayedStream = DelayedStream.create(source); fake.verify(); })(); (function testDisableAutoPause() { var source = new Stream(); fake.expect(source, 'pause', 0); var delayedStream = DelayedStream.create(source, {pauseStream: false}); fake.verify(); })();
Version data entries
119 entries across 105 versions & 6 rubygems