Skip to content

Commit b20e56c

Browse files
committed
fixed ts warning
1 parent fa72189 commit b20e56c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/event-handler/tests/unit/http/middleware/validation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ describe('Router Validation Integration', () => {
342342
const responseSchema = z.object({ name: z.string() });
343343
type ResponseType = z.infer<typeof responseSchema>;
344344

345-
//@ts-expect-error testing for validation failure
346345
app.get<never, ResponseType>(
347346
'/invalid',
347+
//@ts-expect-error testing for validation failure
348348
() => {
349349
return new Response('{"name": "John"', {
350350
headers: {

0 commit comments

Comments
 (0)