This reverts commit c161c0f2e9
.
This commit is contained in:
parent
c161c0f2e9
commit
86ab4ae84a
1 changed files with 1 additions and 0 deletions
|
@ -544,6 +544,7 @@ describe('app.respond', () => {
|
||||||
ctx.length = fs.readFileSync('package.json').length;
|
ctx.length = fs.readFileSync('package.json').length;
|
||||||
const stream = fs.createReadStream('package.json');
|
const stream = fs.createReadStream('package.json');
|
||||||
ctx.body = stream;
|
ctx.body = stream;
|
||||||
|
ctx.body = stream;
|
||||||
ctx.set('Content-Type', 'application/json; charset=utf-8');
|
ctx.set('Content-Type', 'application/json; charset=utf-8');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue