You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const{ assert }=require('chai');const{ ethers, getNamedAccounts, network }=require('hardhat');const{ developmentChains }=require('../../helper-hardhat-config');developmentChains.includes(network.name)
? describe.skip
: describe('FundMe',async()=>{letfundMe;letdeployer;constsendValue=ethers.utils.parseEther('1');beforeEach(async()=>{deployer=(awaitgetNamedAccounts()).deployer;fundMe=awaitethers.getContract('FundMe',deployer);});it('allows people to fund and withdraw',async()=>{awaitfundMe.fund({value: sendValue});awaitfundMe.withdraw();constendingBalance=awaitfundMe.provider.getBalance(fundMe.address);assert.equal(endingBalance.toString(),'0');});});
The text was updated successfully, but these errors were encountered:
Testnet Staging Staging Test is Failing currently.
Test Report -
Test Fail Error -
FundMe.staging.test.js
code -The text was updated successfully, but these errors were encountered: