- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 01 Aug 2016 01:39:40 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 1 August 2016 08:42:29 UTC
> } > > -test('error argument is given to start method', t => { > - let error; > +function writeArrayToStream(array, writableStreamWriter) { > + array.forEach(chunk => writableStreamWriter.write(chunk)); > + return writableStreamWriter.close(); > +} > + > +test('desiredSize on a released writer', t => { > + const ws = new WritableStream({}); > + const writer = ws.getWriter(); > + writer.releaseLock(); > + > + try { You could use `t.throws(...)`? https://www.npmjs.com/package/tape#tthrowsfn-expected-msg --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/488/files/78da22f4ee481cce7a57cd438c0d01770fd6bdf2#r72941529
Received on Monday, 1 August 2016 08:42:29 UTC