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'); });