Revert "refactor: remove duplicate assignment in respond test (#1055)" (#1056)

This reverts commit c161c0f2e9.
master
jongleberry 2017-09-11 21:35:13 -05:00 committed by GitHub
parent c161c0f2e9
commit 86ab4ae84a
1 changed files with 1 additions and 0 deletions

View File

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