Skip to content

Commit

Permalink
Tweak to test function
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Oct 27, 2023
1 parent f8226b0 commit 38b5c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/edge-action/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ module.exports.main = async function main(req, context) {
backend: 'httpbin.org',
});
console.log(await backendresponse.text());
return new Response(`(${context?.func?.version}) ok: ${await context.env.HEY} ${await context.env.FOO}${backendresponse.status}`);
return new Response(`(${context?.func?.name}) ok: ${await context.env.HEY} ${await context.env.FOO}${backendresponse.status}`);
};

0 comments on commit 38b5c37

Please sign in to comment.