From 37346aaeded413b2dfb4e226efb8564cf4ef185c Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 29 Jan 2025 18:09:30 +0000 Subject: [PATCH] Fix linter --- .../GetUnclaimedCardsHelper.test.ts | 19 ------------------- tests/helpers/EffectHelper.test.ts | 10 ++++++++-- 2 files changed, 8 insertions(+), 21 deletions(-) delete mode 100644 tests/helpers/DropHelpers/GetUnclaimedCardsHelper.test.ts diff --git a/tests/helpers/DropHelpers/GetUnclaimedCardsHelper.test.ts b/tests/helpers/DropHelpers/GetUnclaimedCardsHelper.test.ts deleted file mode 100644 index 04f76fc..0000000 --- a/tests/helpers/DropHelpers/GetUnclaimedCardsHelper.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -describe("GetRandomCardUnclaimed", () => { - test.todo("GIVEN chance is within bronze chance, EXPECT bronze card returned"); - - test.todo("GIVEN chance is within silver chance, EXPECT silver card"); - - test.todo("GIVEN chance is within gold chance, EXPECT gold card returned"); - - test.todo("GIVEN chance is within manga chance, EXPECT manga card returned"); -}); - -describe("GetRandomCardByRarityUnclaimed", () => { - test.todo("GIVEN user has no claimed cards, EXPECT random card returned"); - - test.todo("GIVEN no cards are found in memory, EXPECT undefined returned"); - - test.todo("GIVEN no series metadata is found for random card, EXPECT undefined returned"); - - test.todo("GIVEN user has claimed cards, EXPECT random card to NOT be this card"); -}); \ No newline at end of file diff --git a/tests/helpers/EffectHelper.test.ts b/tests/helpers/EffectHelper.test.ts index e8dbef2..b0dd12d 100644 --- a/tests/helpers/EffectHelper.test.ts +++ b/tests/helpers/EffectHelper.test.ts @@ -24,7 +24,10 @@ describe("GenerateEffectEmbed", () => { }); test("GIVEN user has more than 1 page of effects, EXPECT pagination enabled", async () => { - const effects: any[] = []; + const effects: { + Name: string, + Unused: number, + }[] = []; for (let i = 0; i < 15; i++) { effects.push({ @@ -47,7 +50,10 @@ describe("GenerateEffectEmbed", () => { }); test("GIVEN user is on a page other than 1, EXPECT pagination enabled", async () => { - const effects: any[] = []; + const effects: { + Name: string, + Unused: number, + }[] = []; for (let i = 0; i < 15; i++) { effects.push({