export default async function streamToText(stream, options = {}) {
  // TODO: read stream with a reader + TextDecoder
  throw new Error('Not implemented');
}
Run tests to see results.