blob: d09fec5f74539acfc57746b1a5b291d82b0280e0 [file] [log] [blame]
PASS ReadableStream teeing: rs.tee() returns an array of two ReadableStreams
PASS ReadableStream teeing: should be able to read one branch to the end without affecting the other
PASS ReadableStream teeing: values should be equal across each branch
PASS ReadableStream teeing: errors in the source should propagate to both branches
PASS ReadableStream teeing: canceling branch1 should not impact branch2
PASS ReadableStream teeing: canceling branch2 should not impact branch1
PASS ReadableStream teeing: canceling both branches should aggregate the cancel reasons into an array
PASS ReadableStream teeing: failing to cancel the original stream should cause cancel() to reject on branches
PASS ReadableStream teeing: closing the original should immediately close the branches
PASS ReadableStream teeing: erroring the original should immediately error the branches