Skip to content

Commit d473203

Browse files
committed
fix: use minified JSON in logging-example fixture
Changed JSON.stringify to not pretty-print so the response matches what the integration test expects (minified JSON without spaces). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Lars Trieloff <lars@trieloff.net>
1 parent d449f49 commit d473203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fixtures/logging-example/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function main(req, context) {
8484
timestamp: new Date().toISOString(),
8585
};
8686

87-
return new Response(JSON.stringify(response, null, 2), {
87+
return new Response(JSON.stringify(response), {
8888
headers: {
8989
'Content-Type': 'application/json',
9090
},

0 commit comments

Comments
 (0)