Skip to content

Commit 4c14843

Browse files
committed
:chore: Improve null request test (#2446)
1 parent ed9260e commit 4c14843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/lib/utils/authorship.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ describe('validateAuthFormWithFallback', () => {
350350
.mockRejectedValueOnce(new Error('Invalid request'));
351351
vi.mocked(zod).mockReturnValue({} as any);
352352

353-
const mockRequest = null as any;
353+
const mockRequest = {} as Request;
354354

355355
const result = await validateAuthFormWithFallback(mockRequest);
356356

0 commit comments

Comments
 (0)