Skip to content

Commit f0a9b1a

Browse files
committed
Merge branch 'ty/scrum-180-backend-integration-tests' of https://github.com/UTSC-CSCC01-Software-Engineering-I/term-group-project-c01w25-project-course-matrix into ty/scrum-180-backend-integration-tests
2 parents a197849 + e4110d0 commit f0a9b1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

course-matrix/backend/__tests__/integration-tests/timetableGenerate.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jest.mock(
182182
if (key === 'user_id' && value === USER3) {
183183
return {
184184
eq: jest.fn().mockReturnThis(), // Allow further chaining of eq
185-
// if required
185+
// if required
186186
maybeSingle: jest.fn().mockImplementation(() => {
187187
return {data: null, error: null};
188188
}),
@@ -193,7 +193,7 @@ jest.mock(
193193
if (key === 'user_id' && value === USER4) {
194194
return {
195195
eq: jest.fn().mockReturnThis(), // Allow further chaining of eq
196-
// if required
196+
// if required
197197
neq: jest.fn().mockImplementation(
198198
() => ({
199199
maybeSingle: jest.fn().mockImplementation(
@@ -239,7 +239,7 @@ jest.mock(
239239
// Return the input data when select is called
240240
return {
241241
data: data,
242-
error: null
242+
error: null,
243243
}; // Return the data passed to insert
244244
}),
245245
};

0 commit comments

Comments
 (0)