diff --git a/backend/tests/controllers/assignments.test.ts b/backend/tests/controllers/assignments.test.ts index fa884595..88cac366 100644 --- a/backend/tests/controllers/assignments.test.ts +++ b/backend/tests/controllers/assignments.test.ts @@ -10,7 +10,7 @@ function createRequestObject( classid: string, assignmentid: string ): { - query: {full: string}, + query: { full: string }; params: { classid: string; id: string }; } { return { @@ -19,8 +19,8 @@ function createRequestObject( id: assignmentid, }, query: { - full: 'true' - } + full: 'true', + }, }; } diff --git a/backend/tests/controllers/groups.test.ts b/backend/tests/controllers/groups.test.ts index 88b7dd7c..f9e35cea 100644 --- a/backend/tests/controllers/groups.test.ts +++ b/backend/tests/controllers/groups.test.ts @@ -18,7 +18,7 @@ function createRequestObject( assignmentid: string, groupNumber: string ): { - query: { full: string } + query: { full: string }; params: { classid: string; groupid: string; assignmentid: string }; } { return { @@ -28,8 +28,8 @@ function createRequestObject( groupid: groupNumber, }, query: { - full: 'true' - } + full: 'true', + }, }; }