We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540f23f commit 86114a7Copy full SHA for 86114a7
apps/frontend/__tests__/question.test.ts
@@ -210,7 +210,7 @@ describe("GetSingleQuestion", () => {
210
const DOCREF = "mockdocref";
211
beforeEach(() => {
212
global.fetch = jest.fn().mockResolvedValue({
213
- ok: true, // // Ensure `ok` is true to hit the success branch
+ ok: true, // Ensure `ok` is true to hit the success branch
214
async json() {
215
return QUESTIONS[0]
216
},
@@ -240,6 +240,7 @@ describe("CreateQuestion", () => {
240
241
status: 200,
242
statusText: "OK",
243
244
245
return createdQuestion
246
}
0 commit comments