From 86ab4ae84a1bd71fe719be200504fe180988127f Mon Sep 17 00:00:00 2001 From: jongleberry Date: Mon, 11 Sep 2017 21:35:13 -0500 Subject: [PATCH] Revert "refactor: remove duplicate assignment in respond test (#1055)" (#1056) This reverts commit c161c0f2e9f28cea895c38aa2c3ec6ea8b85be44. --- test/application/respond.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/application/respond.js b/test/application/respond.js index 3a81ed1..6602114 100644 --- a/test/application/respond.js +++ b/test/application/respond.js @@ -544,6 +544,7 @@ describe('app.respond', () => { ctx.length = fs.readFileSync('package.json').length; const stream = fs.createReadStream('package.json'); ctx.body = stream; + ctx.body = stream; ctx.set('Content-Type', 'application/json; charset=utf-8'); });