Skip to content

Commit cab95ca

Browse files
committed
🐛 fix(test/conformance): should use ctx.res
Signed-off-by: Haili Zhang <haili.zhang@outlook.com>
1 parent 42d707b commit cab95ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conformance/function.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function writeJson(content) {
4747
async function tryKnativeAsync(ctx, data) {
4848
debug('✅ Function should receive request: %o', data);
4949
await ctx.send(data);
50-
return ctx.response(data);
50+
ctx.res.send(data);
5151
}
5252

5353
function tryAsync(ctx, data) {

0 commit comments

Comments
 (0)