Skip to content

Commit f70707c

Browse files
authored
Update event.test.ts
Signed-off-by: Yachika Sharma <shakuntalaramphalsharma@gmail.com>
1 parent fd962a5 commit f70707c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/backend/src/__tests__/event.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async function createEvent(
107107
app: FastifyInstance,
108108
body: Record<string, unknown>,
109109
authenticated = true,
110-
) {
110+
): Promise<LightMyRequestResponse> {
111111
return app.inject({
112112
method: 'POST',
113113
url: '/api/events',
@@ -701,4 +701,4 @@ describe('Events API', () => {
701701
expect(slug).not.toMatch(/--/);
702702
});
703703
});
704-
});
704+
});

0 commit comments

Comments
 (0)