Fix cardService test formatting

This commit is contained in:
Tee
2021-03-14 21:36:53 -04:00
parent 1033ad9dc2
commit b0a744fd58

View File

@ -32,15 +32,13 @@ describe('Card Service', () => {
const result: Supertype[] = await getSupertypes();
expect(expected.sort()).toEqual(result.sort());
});
it('should get a list of card subtypes', async () => {
const expected: string[] = Object.values(Subtype);
const result: Subtype[] = await getSubtypes();
console.log(expected);
expect(expected.sort()).toEqual(result.sort());
expect(expected.sort()).toEqual(result.sort());
});
it('should get a list of card rarities', async () => {
@ -48,7 +46,6 @@ describe('Card Service', () => {
const result: Rarity[] = await getRarities();
expect(expected.sort()).toEqual(result.sort());
});
it('should get a list of card types', async () => {
@ -56,6 +53,5 @@ describe('Card Service', () => {
const result: Type[] = await getTypes();
expect(expected.sort()).toEqual(result.sort());
});
})