Skip to content

Commit

Permalink
try fixing subgraph tests
Browse files Browse the repository at this point in the history
  • Loading branch information
levalleux-ludo committed Feb 29, 2024
1 parent 47c1226 commit 38e161a
Show file tree
Hide file tree
Showing 6 changed files with 2,965 additions and 3,677 deletions.
6 changes: 2 additions & 4 deletions e2e/tests/core-sdk-royalties.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ describe("Seller royalties recipients", () => {
royaltyRecipients.find(walletIs(recipients_2[1]))?.minRoyaltyPercentage
).toEqual(recipientsPercentage_2[1]);
});
xtest("custom royalties for a seller - update other recipients - check subgraph", async () => {
// TODO: This test doesn't pass until we properly manage update/removeRoyaltyRecipients in the subgraph handler
test("custom royalties for a seller - update other recipients - check subgraph", async () => {
const { coreSDK, fundedWallet } = await initCoreSDKWithFundedWallet(
seedWallet
);
Expand Down Expand Up @@ -340,8 +339,7 @@ describe("Seller royalties recipients", () => {
expect(royaltyRecipients.some(walletIs(recipients[0]))).toBe(true);
expect(royaltyRecipients.some(walletIs(recipients[1]))).toBe(false);
});
xtest("custom royalties for a seller - remove other recipients - check subgraph", async () => {
// TODO: This test doesn't pass until we properly manage update/removeRoyaltyRecipients in the subgraph handler
test("custom royalties for a seller - remove other recipients - check subgraph", async () => {
const { coreSDK, fundedWallet } = await initCoreSDKWithFundedWallet(
seedWallet
);
Expand Down
Loading

0 comments on commit 38e161a

Please sign in to comment.