Skip to content

Commit

Permalink
fix: bring back unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Mar 20, 2024
1 parent be087ae commit ff043dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/soul-name/load.test.ts
@@ -1,4 +1,4 @@
import { assert } from "chai";
import { expect } from "chai";
import { before, describe } from "mocha";

import type { Masa } from "../../src";
Expand All @@ -8,13 +8,13 @@ let masa: Masa;

describe("Soul Name", () => {
before(() => {
masa = getTestMasa("goerli");
masa = getTestMasa("alfajores");
});

describe("load", () => {
// it("should load a soul name properly", async () => {
// const soulnameDetails = await masa.soulName.loadSoulNameByTokenId("0");
// assert.equal(soulnameDetails?.metadata.name, "h34d.soul");
// }).timeout(10000);
it("should load a soul name properly", async () => {
const soulnameDetails = await masa.soulName.loadSoulNameByTokenId("12");
expect(soulnameDetails?.metadata.name).to.equal("h34d.celo");
}).timeout(10000);
});
});

0 comments on commit ff043dc

Please sign in to comment.