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

This reverts commit c161c0f2e9.
This commit is contained in:
jongleberry 2017-09-11 21:35:13 -05:00 committed by GitHub
parent c161c0f2e9
commit 86ab4ae84a

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