This commit is contained in:
parent
0adf9c67c9
commit
37346aaede
2 changed files with 8 additions and 21 deletions
|
@ -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");
|
|
||||||
});
|
|
|
@ -24,7 +24,10 @@ describe("GenerateEffectEmbed", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test("GIVEN user has more than 1 page of effects, EXPECT pagination enabled", async () => {
|
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++) {
|
for (let i = 0; i < 15; i++) {
|
||||||
effects.push({
|
effects.push({
|
||||||
|
@ -47,7 +50,10 @@ describe("GenerateEffectEmbed", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test("GIVEN user is on a page other than 1, EXPECT pagination enabled", async () => {
|
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++) {
|
for (let i = 0; i < 15; i++) {
|
||||||
effects.push({
|
effects.push({
|
||||||
|
|
Loading…
Reference in a new issue