Skip to content

Commit

Permalink
added timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
carolbgmm committed May 4, 2024
1 parent 3b48bf0 commit e022dfc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions game/qgservice/qg.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ describe('qg-service', function () {
expect(getQuestionsSpy).toHaveBeenCalledWith(expect.objectContaining({ params: { lang } }), expect.any(Object));
getQuestionsSpy.mockRestore(); // Restore the spy after the test
done();
});
});
}).timeout(5000);
}).timeout(5000);
});

describe('POST /getQuestionsByIds', function () {
Expand All @@ -62,7 +62,7 @@ describe('qg-service', function () {
expect(getQuestionsByIdsSpy).toHaveBeenCalledWith(expect.objectContaining({ body: { ids } }), expect.any(Object));
getQuestionsByIdsSpy.mockRestore(); // Restore the spy after the test
done();
});
});
}).timeout(5000);
}).timeout(5000);
});
});

0 comments on commit e022dfc

Please sign in to comment.