Skip to content

Commit

Permalink
fix: fee tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigBalthazar committed Apr 10, 2024
1 parent 3fe1a70 commit f4832ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:
run: npm install

- name: Run Hardhat tests
run: npx hardhat test
run: npm run test
3 changes: 2 additions & 1 deletion test/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export const shouldBehaveLikeInitialize = async () => {

it("should init correct", async () => {
expect(await wpac.owner()).to.be.equal(owner.address)
expect(await wpac.FEE()).to.be.equal(decimal(1))
expect(await wpac.MIN_FEE()).to.be.equal(decimal(1))
expect(await wpac.MAX_FEE()).to.be.equal(decimal(5))
expect(await wpac.counter()).to.be.equal(0)
expect(await wpac.decimals()).to.be.equal(9)
expect(await wpac.paused()).to.be.equal(false)
Expand Down

0 comments on commit f4832ef

Please sign in to comment.