Skip to content

Commit

Permalink
Skip test for local node testing
Browse files Browse the repository at this point in the history
  • Loading branch information
vp4242 committed Feb 15, 2024
1 parent 97db353 commit b752379
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/0.8.9/sepolia-deployment.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ contract('SepoliaDepositAdapter deployment', ([deployer]) => {
let depositAdapter
let snapshot

before('deploy lido with dao', async () => {
before('deploy lido with dao', async function () {
if (!process.env.HARDHAT_FORKING_URL) {
return this.skip()
}

depositAdapter = await SepoliaDepositAdapter.new(deployer, { from: deployer })

snapshot = new EvmSnapshot(ethers.provider)
Expand Down
6 changes: 5 additions & 1 deletion test/0.8.9/sepolia-deposit-adapter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ contract('SepoliaDepositAdapter impl', ([deployer]) => {
// const log = console.log
const log = () => {}

before('deploy lido with dao', async () => {
before('deploy lido with dao', async function () {
if (!process.env.HARDHAT_FORKING_URL) {
return this.skip()
}

// depositAdapter = await SepoliaDepositAdapter.at(sepoliaDepositAdapterContract)
depositAdapter = await ethers.deployContract('SepoliaDepositAdapter', [sepoliaDepositContract])
log('depositAdapter address', depositAdapter.address)
Expand Down

0 comments on commit b752379

Please sign in to comment.