summaryrefslogtreecommitdiffstats
path: root/test/issue-1670.js
blob: c27bdb272dca31582f1a6d45b2ae04f0b66031c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'

const { test } = require('tap')
const { request } = require('..')

test('https://github.com/mcollina/undici/issues/810', async (t) => {
  const { body } = await request('https://api.github.com/user/emails')

  await body.text()

  t.end()
})