From e8148d17ebe42d062da42db7c979f30051108c3e Mon Sep 17 00:00:00 2001 From: Huan LI Date: Thu, 25 May 2017 12:16:23 +0800 Subject: [PATCH] fix(spec): use high port instead of 8000 --- src/util-lib.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util-lib.spec.ts b/src/util-lib.spec.ts index c191f10e..4daf235d 100644 --- a/src/util-lib.spec.ts +++ b/src/util-lib.spec.ts @@ -108,9 +108,9 @@ test('downloadStream() for media', t => { t.fail('server on clientError') socket.end('HTTP/1.1 400 Bad Request\r\n\r\n') }) - server.listen(8000) + server.listen(65534) - UtilLib.urlStream('http://127.0.0.1:8000/ding', [{name: 'life', value: 42}]) + UtilLib.urlStream('http://127.0.0.1:65534/ding', [{name: 'life', value: 42}]) .then(s => { s.on('data', (chunk) => { // console.log(`BODY: ${chunk}`) -- GitLab