We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f75d445 commit 817b498Copy full SHA for 817b498
test/application/respond.js
@@ -20,6 +20,7 @@ describe('app.respond', () => {
20
res.statusCode = 200;
21
setImmediate(() => {
22
res.setHeader('Content-Type', 'text/plain');
23
+ res.setHeader('Content-Length', '3');
24
res.end('lol');
25
});
26
@@ -41,6 +42,7 @@ describe('app.respond', () => {
41
42
const res = ctx.res;
43
44
45
46
47
ctx.set('foo', 'bar');
48
@@ -65,6 +67,7 @@ describe('app.respond', () => {
65
67
66
68
69
70
71
72
ctx.status = 201;
73
0 commit comments