Skip to content

Commit

Permalink
test: update configs for await-execution test
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed Jul 12, 2024
1 parent 74a8847 commit 5e925dd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions packages/fuel-gauge/src/await-execution.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ import { launchTestNode } from 'fuels/test-utils';
*/
describe('await-execution', () => {
test('awaiting execution of a transaction on the provider works', async () => {
using launched = await launchTestNode();

const { provider } = launched;
using launched = await launchTestNode({
nodeOptions: {
args: ['--poa-instant', 'false', '--poa-interval-period', '400ms'],
},
});

const genesisWallet = new WalletUnlocked(
process.env.GENESIS_SECRET || randomBytes(32),
provider
);
const {
provider,
wallets: [genesisWallet],
} = launched;

const destination = Wallet.generate({ provider });

Expand Down

0 comments on commit 5e925dd

Please sign in to comment.