diff --git a/crypto/ts/__tests__/AccQueue.test.ts b/crypto/ts/__tests__/AccQueue.test.ts index dcfa915b3b..835d65a6c3 100644 --- a/crypto/ts/__tests__/AccQueue.test.ts +++ b/crypto/ts/__tests__/AccQueue.test.ts @@ -7,7 +7,8 @@ import { } from '../' import { testMerge, testMergeExhaustive, testMergeShortest, testMergeShortestOne } from './utils' -describe('AccQueue', () => { +describe('AccQueue', function () { + this.timeout(100000) describe('Enqueue', () => { describe('Binary AccQueue', () => { const HASH_LENGTH = 2 diff --git a/crypto/ts/__tests__/Crypto.test.ts b/crypto/ts/__tests__/Crypto.test.ts index dc01ee47a1..5fc234fa2e 100644 --- a/crypto/ts/__tests__/Crypto.test.ts +++ b/crypto/ts/__tests__/Crypto.test.ts @@ -18,7 +18,8 @@ import { } from '../' -describe('Cryptographic operations', () => { +describe('Cryptographic operations', function() { + this.timeout(100000) const { privKey, pubKey } = genKeypair() const k = genKeypair() diff --git a/domainobjs/ts/__tests__/DomainObjs.test.ts b/domainobjs/ts/__tests__/DomainObjs.test.ts index 211aaabd64..89f5bda563 100644 --- a/domainobjs/ts/__tests__/DomainObjs.test.ts +++ b/domainobjs/ts/__tests__/DomainObjs.test.ts @@ -18,7 +18,9 @@ import { genRandomSalt, } from 'maci-crypto' -describe('Domain objects', () => { +describe('Domain objects', function() { + this.timeout(100000) + const { privKey, pubKey } = new Keypair() const k = new Keypair() diff --git a/integrationTests/ts/__tests__/deployPollWithRandomSigner.test.ts b/integrationTests/ts/__tests__/deployPollWithRandomSigner.test.ts index 9cd4487a31..b87842f856 100644 --- a/integrationTests/ts/__tests__/deployPollWithRandomSigner.test.ts +++ b/integrationTests/ts/__tests__/deployPollWithRandomSigner.test.ts @@ -25,7 +25,7 @@ async function getPollDuration(providerUrl: string, maci: string, pollId: number } describe('Test deployPollWithSigner', function() { - this.timeout(3000000) + this.timeout(5000000) const data = loadData('suites.json') const test = data.suites[0] it(test.description, async () => { diff --git a/integrationTests/ts/__tests__/suites.test.ts b/integrationTests/ts/__tests__/suites.test.ts index 66c3821eb5..169d9fcf9f 100644 --- a/integrationTests/ts/__tests__/suites.test.ts +++ b/integrationTests/ts/__tests__/suites.test.ts @@ -7,7 +7,7 @@ import { } from './suites' describe('Test suites', function() { - this.timeout(3000000) + this.timeout(5000000) const data = loadData('suites.json') for (const test of data.suites) { it(test.description, async () => {