Skip to content

Commit

Permalink
Fix timeouts in unittests
Browse files Browse the repository at this point in the history
PR-URL: #481
  • Loading branch information
tshemsedinov committed Nov 19, 2023
1 parent f96d843 commit b061703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ metatests.test('Client / calls', async (test) => {
},
timeout: {
handler: async () => {
await timers.setTimeout(200);
await timers.setTimeout(350);
return { success: true };
},
},
Expand Down Expand Up @@ -64,7 +64,7 @@ metatests.test('Client / calls', async (test) => {
test.defer(() => void mockServer.close());

test.beforeEach(async () => {
client = Metacom.create('ws://localhost:8000/', { callTimeout: 150 });
client = Metacom.create('ws://localhost:8000/', { callTimeout: 300 });
await client.opening;
await client.load('test');
});
Expand Down

0 comments on commit b061703

Please sign in to comment.