diff --git a/web3.js/test/token-program.test.js b/web3.js/test/token-program.test.js index ccf7f8bcbc..79eb008c8d 100644 --- a/web3.js/test/token-program.test.js +++ b/web3.js/test/token-program.test.js @@ -8,10 +8,8 @@ import {newAccountWithLamports} from './new-account-with-lamports'; import {mockGetRecentBlockhash} from './mockrpc/get-recent-blockhash'; import {sleep} from '../src/util/sleep'; -if (!mockRpcEnabled) { - // The default of 5 seconds is too slow for live testing sometimes - jest.setTimeout(60000); -} +// The default of 5 seconds is too slow for live testing sometimes +jest.setTimeout(60000); function mockGetSignatureStatus(result: string = 'Confirmed') { mockRpc.push([ @@ -609,3 +607,4 @@ test('set owner', async () => { await testToken.setOwner(newOwner, account, owner.publicKey); }); +