Skip to content

Commit

Permalink
Error in timeout solved
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 committed Feb 23, 2024
1 parent cbde6cb commit 4e6cbf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Gateway Service', () => {

// Test /api/questions/create endpoint
it('should forward create question request to question generation service', async () => {
this.timeout(100000);
jest.setTimeout(100000);
const response = await request(app)
.get('/api/questions/create');

Expand Down
2 changes: 1 addition & 1 deletion question_generator/questionGenerationService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ afterAll(async () => {

describe('Question generation service', () => {
it('should forward create question request to question generation service', async () => {
this.timeout(100000);
jest.setTimeout(100000);
const response = await request(app)
.get('/api/questions/create');

Expand Down

0 comments on commit 4e6cbf1

Please sign in to comment.