refactor: remove duplicate assignment in respond test (#1055)
Signed-off-by: Clark Du <clark.duxin@gmail.com>
This commit is contained in:
parent
392e8aa90d
commit
c161c0f2e9
1 changed files with 0 additions and 1 deletions
|
@ -544,7 +544,6 @@ 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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue