Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
chore(tests): fix addFunds call within extend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Oct 30, 2023
1 parent e6fd4f9 commit f1e275c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/extend.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ describe('Extend', () => {
);
contract = warp.pst(srcContractId).connect(nonContractOwner);
emptyWalletCaller = await arweave.wallets.generate();
await addFunds(arweave, emptyWalletCaller);
const emptyWalletAddress = await arweave.wallets.getAddress(
emptyWalletCaller,
);
await addFunds(arweave, emptyWalletAddress);
});

afterEach(() => {
Expand Down
1 change: 0 additions & 1 deletion tests/setup.jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as fs from 'fs';
import path from 'path';

import { WALLETS_TO_CREATE } from './utils/constants';
// import { WALLETS_TO_CREATE } from './utils/constants';
import { createLocalWallet, setupInitialContractState } from './utils/helper';
import { arlocal, arweave, warp } from './utils/services';

Expand Down

0 comments on commit f1e275c

Please sign in to comment.