Fix TS issues
This commit is contained in:
Generated
+1139
-1467
File diff suppressed because it is too large
Load Diff
@@ -77,7 +77,7 @@ test("Logged in user can create event", async (t) => {
|
||||
|
||||
await t.click(submit);
|
||||
|
||||
const parsed = JSON.parse(LOGGER.requests[0].response.body);
|
||||
const parsed = JSON.parse(LOGGER.requests[0].response.body as string);
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t.fixtureCtx.eventId = parsed.id;
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ test("Logged in user can create signup", async (t) => {
|
||||
|
||||
await t.click(submit);
|
||||
|
||||
const parsed = JSON.parse(LOGGER.requests[0].response.body);
|
||||
const parsed = JSON.parse(LOGGER.requests[0].response.body as string);
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
t.fixtureCtx.formId = parsed.id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user