Re: [whatwg/streams] Align WritableStream structure with ReadableStream structure (#488)

> +  });
> +}
> +
> +test('abort() on a released writer rejects', t => {
> +  const ws = new WritableStream({});
> +
> +  const writer = ws.getWriter();
> +  writer.releaseLock();
> +
> +  const abortPromise = writer.abort();
> +  abortPromise.then(() => {
> +    t.fail('abortPromise fulfilled unexpectedly');
> +    t.end();
> +  },
> +  r => {
> +    t.end();

Should probably test that it's a TypeError

---
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#r72941323

Received on Monday, 1 August 2016 08:38:31 UTC