test: fix end after end (#1374)
This commit is contained in:
parent
061c21f336
commit
f75d445535
1 changed files with 0 additions and 1 deletions
|
@ -236,7 +236,6 @@ describe('app.respond', () => {
|
||||||
ctx.status = 200;
|
ctx.status = 200;
|
||||||
res.setHeader('Content-Type', 'text/html');
|
res.setHeader('Content-Type', 'text/html');
|
||||||
res.write('Hello');
|
res.write('Hello');
|
||||||
setTimeout(() => res.end('Goodbye'), 0);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
app.on('error', err => { throw err; });
|
app.on('error', err => { throw err; });
|
||||||
|
|
Loading…
Reference in a new issue