increase timeouts

This commit is contained in:
DieMyst 2022-01-28 11:54:57 +03:00
parent 0088d9f153
commit b9cef0f8f9
2 changed files with 3 additions and 3 deletions

View File

@ -175,7 +175,7 @@ describe('Testing examples', () => {
it('foldJoin.aqua', async () => {
let foldJoinResult = await foldJoinCall();
expect(foldJoinResult.length).toBeGreaterThanOrEqual(3)
});
}, 16000);
it('option.aqua', async () => {
registerHandlers();
@ -192,7 +192,7 @@ describe('Testing examples', () => {
expect(res1).toEqual(res2);
expect(res2).toEqual(res3);
expect(res3).toEqual(res4);
});
}, 16000);
it('nestedFuncs.aqua', async () => {
let nestedFuncsResult = await nestedFuncsCall();

View File

@ -3,5 +3,5 @@ import { getTwoResults } from '../compiled/examples/foldJoin';
export async function foldJoinCall(): Promise<number[]> {
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
return await getTwoResults(relayPeerId);
return await getTwoResults(relayPeerId, {ttl: 16000});
}