Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

fix: remove before function #67

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions local-setup-testing/test/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,7 @@ async function deployGreeter(deployer: Deployer): Promise<Contract> {
}

describe('Greeter', function () {
let deployer: Deployer;

before('Fund the wallet', async () => {
deployer = new Deployer(hre, new Wallet(RICH_WALLET_PK));

const depositHandle = await deployer.zkWallet.deposit({
to: deployer.zkWallet.address,
token: utils.ETH_ADDRESS,
amount: ethers.utils.parseEther('0.001'),
});

await depositHandle.wait();
});
const deployer = new Deployer(hre, new Wallet(RICH_WALLET_PK));

it("Should return the new greeting once it's changed", async () => {
const greeter = await deployGreeter(deployer);
Expand Down