Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolania committed Dec 6, 2024
1 parent 7f3c04c commit ef883b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/core-sdk/test/integration/royalty.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ describe("Test royalty Functions", () => {
});
await transferToken();
});

it("should not throw error when pay royalty on behalf", async () => {
const response = await client.royalty.payRoyaltyOnBehalf({
receiverIpId: parentIpId,
Expand Down
8 changes: 5 additions & 3 deletions packages/core-sdk/test/unit/resources/dispute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,18 @@ describe("Test DisputeClient", () => {
rpcMock = createMock<PublicClient>();
walletMock = createMock<WalletClient>();
disputeClient = new DisputeClient(rpcMock, walletMock);
if (!process.env.WALLET_PRIVATE_KEY) {
throw new Error("WALLET_PRIVATE_KEY environment variable is not set.");
}
});

afterEach(() => {
sinon.restore();
});

describe("Test raiseDispute", () => {
it("should have a private key", () => {
if (!process.env.WALLET_PRIVATE_KEY) {
throw new Error("WALLET_PRIVATE_KEY environment variable is not set.");
}
});
it("throw address error when call raiseDispute with invalid targetIpId", async () => {
try {
await disputeClient.raiseDispute({
Expand Down

0 comments on commit ef883b6

Please sign in to comment.