Skip to content

Commit 5e973ac

Browse files
committed
fix(dev): coderabbit comments
1 parent 2ea5c59 commit 5e973ac

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/api/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ export const createApp = (options: ApiAppOptions = {}) => {
265265
runtime: "api",
266266
surface: "http",
267267
outcome: "invalid",
268-
error: { name: "SyntaxError", message: "Malformed JSON body" },
268+
error: serializeErrorForLog(error),
269269
method: c.req.method,
270270
path: c.req.path,
271271
requestId,

apps/web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"jsdom": "^29.0.1",
2929
"tailwindcss": "^4.0.0",
3030
"typescript": "^5.9.3",
31-
"vitest": "^4.0.18",
31+
"vitest": "^4.1.4",
3232
"vite": "8.0.5"
3333
}
3434
}

apps/web/src/components/layout/Layout.vitest.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('Layout', () => {
7171

7272
const watermarkImage = container.querySelector('footer img.h-150.md\\:h-225');
7373

74-
expect(watermarkImage).toBeDefined();
74+
expect(watermarkImage).not.toBeNull();
7575
expect(watermarkImage?.getAttribute('class')).toContain('h-150');
7676
expect(watermarkImage?.getAttribute('class')).toContain('md:h-225');
7777
});

0 commit comments

Comments
 (0)