-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
skip test and explain why its skipped. deploy safEth strategy for tests
- Loading branch information
Showing
5 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
describe("Test SafEth Strategy", async function () { | ||
it("Should test some things (TODO)", async function () { | ||
import { SafEthStrategy } from "../../typechain-types"; | ||
import { ethers, upgrades } from "hardhat"; | ||
describe("Test SafEth Strategy Specific Functionality", async function () { | ||
let safEthStrategy: SafEthStrategy; | ||
before(async () => { | ||
const safEthStrategyFactory = await ethers.getContractFactory( | ||
"SafEthStrategy" | ||
); | ||
safEthStrategy = (await upgrades.deployProxy( | ||
safEthStrategyFactory | ||
)) as SafEthStrategy; | ||
await safEthStrategy.deployed(); | ||
}); | ||
|
||
it("Should mint() and be able to immediately requestClose() and burn() the position", async function () { | ||
// TODO | ||
}); | ||
|
||
it("Should be able to call claimRewards() but have no effect because safEth rewards are received upon burning", async function () { | ||
// TODO | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters