Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Sep 9, 2022
1 parent be7dfb0 commit daeeb9a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/SoulFactory.test.ts
Expand Up @@ -239,26 +239,26 @@ describe("Soul Factory", () => {
await soulFactory.purchaseIdentityAndNameInfo();

expect(priceInStableCoin).to.be.equal(MINTING_IDENTITY_AND_NAME_PRICE);
expect(priceInETH.toNumber()).to.be.greaterThan(0);
expect(priceInUtilityToken.toNumber()).to.be.greaterThan(0);
expect(priceInETH).not.to.be.equal("0");
expect(priceInUtilityToken).not.to.be.equal("0");
});

it("we can get identity purchase info", async () => {
const [priceInStableCoin, priceInETH, priceInUtilityToken] =
await soulFactory.purchaseIdentityInfo();

expect(priceInStableCoin).to.be.equal(MINTING_IDENTITY_PRICE);
expect(priceInETH.toNumber()).to.be.greaterThan(0);
expect(priceInUtilityToken.toNumber()).to.be.greaterThan(0);
expect(priceInETH).not.to.be.equal("0");
expect(priceInUtilityToken).not.to.be.equal("0");
});

it("we can get name purchase info", async () => {
const [priceInStableCoin, priceInETH, priceInUtilityToken] =
await soulFactory.purchaseNameInfo();

expect(priceInStableCoin).to.be.equal(MINTING_NAME_PRICE);
expect(priceInETH.toNumber()).to.be.greaterThan(0);
expect(priceInUtilityToken.toNumber()).to.be.greaterThan(0);
expect(priceInETH).not.to.be.equal("0");
expect(priceInUtilityToken).not.to.be.equal("0");
});
});

Expand Down

0 comments on commit daeeb9a

Please sign in to comment.