diff --git a/src/http.test.ts b/src/http.test.ts index 14c2525..8bc0f3c 100644 --- a/src/http.test.ts +++ b/src/http.test.ts @@ -366,6 +366,5 @@ describe('HTTP.stream()', () => { const {response} = await HTTP.stream('http://api.jdxcode.com') response.setEncoding('utf8') response.on('data', data => expect(data).toEqual('{"message":"ok"}')) - // response.on('end', done) }) })