Add friendly name and active effect to user effect list embed #422

Merged
Vylpes merged 5 commits from feature/379-2 into develop 2025-02-03 18:24:27 +00:00
2 changed files with 8 additions and 21 deletions
Showing only changes of commit 37346aaede - Show all commits

View file

@ -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");
});

View file

@ -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({