diff --git a/tests/buttonEvents/Effects/Buy.test.ts b/tests/buttonEvents/Effects/Buy.test.ts index 70f1ebf..2a4b902 100644 --- a/tests/buttonEvents/Effects/Buy.test.ts +++ b/tests/buttonEvents/Effects/Buy.test.ts @@ -151,21 +151,6 @@ describe("Confirm", () => { }); test("GIVEN id is not supplied, EXPECT error", async () => { - // Assert - const embed = { - id: "embed", - setColor: jest.fn(), - setFooter: jest.fn(), - }; - const row = { - id: "row", - }; - - (EffectHelper.GenerateEffectBuyEmbed as jest.Mock).mockResolvedValue({ - embed, - row, - }); - // Act await Buy.Execute(interaction as unknown as ButtonInteraction); @@ -182,20 +167,6 @@ describe("Confirm", () => { // Assert interaction.customId += " unclaimed"; - const embed = { - id: "embed", - setColor: jest.fn(), - setFooter: jest.fn(), - }; - const row = { - id: "row", - }; - - (EffectHelper.GenerateEffectBuyEmbed as jest.Mock).mockResolvedValue({ - embed, - row, - }); - // Act await Buy.Execute(interaction as unknown as ButtonInteraction); @@ -212,20 +183,6 @@ describe("Confirm", () => { // Assert interaction.customId += " unclaimed invalid"; - const embed = { - id: "embed", - setColor: jest.fn(), - setFooter: jest.fn(), - }; - const row = { - id: "row", - }; - - (EffectHelper.GenerateEffectBuyEmbed as jest.Mock).mockResolvedValue({ - embed, - row, - }); - // Act await Buy.Execute(interaction as unknown as ButtonInteraction); @@ -242,20 +199,6 @@ describe("Confirm", () => { // Assert interaction.customId += " unclaimed 0"; - const embed = { - id: "embed", - setColor: jest.fn(), - setFooter: jest.fn(), - }; - const row = { - id: "row", - }; - - (EffectHelper.GenerateEffectBuyEmbed as jest.Mock).mockResolvedValue({ - embed, - row, - }); - // Act await Buy.Execute(interaction as unknown as ButtonInteraction);