From 192197371296799a53e5a672025e0d45baaa0a29 Mon Sep 17 00:00:00 2001 From: Tee Date: Tue, 23 Mar 2021 20:35:20 -0400 Subject: [PATCH] Test recursive pagination with total card length --- test/cardService.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cardService.test.ts b/test/cardService.test.ts index fdab088..ed5eda9 100644 --- a/test/cardService.test.ts +++ b/test/cardService.test.ts @@ -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 () => {