Test recursive pagination with total card length

This commit is contained in:
Tee
2021-03-23 20:35:20 -04:00
parent a2b3fc3333
commit 1921973712

View File

@ -20,8 +20,9 @@ describe('Card Service', () => {
})
it('should get a default list of cards using the cards resource with no query params', async () => {
const totalCards = 13438;
const results: Card[] = await getAllCards();
expect(results).toHaveLength(250);
expect(results).toHaveLength(totalCards);
});
it('should get a list of card supertypes', async () => {