From 98830cb0ffe42fd9d47e27b2ab7cba6f28d39a4a Mon Sep 17 00:00:00 2001 From: j Date: Sun, 17 Mar 2024 23:23:37 -0400 Subject: [PATCH] Addtl Testing Logic --- tests/api/redisAPITest.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/api/redisAPITest.ts b/tests/api/redisAPITest.ts index c80798c..ad2d55f 100644 --- a/tests/api/redisAPITest.ts +++ b/tests/api/redisAPITest.ts @@ -1,10 +1,18 @@ import { CommentFetcher } from "../../src/rdrama/services/CommentFetcher"; +import SessionManager from "../../src/rdrama/session/SessionManager" main(); async function main(): Promise { + console.log('1') + const axiosSession = SessionManager.getInstance() + console.log('2') let maxPages = 5 for (let page = 1; page <= maxPages; page++) { const newComments = await CommentFetcher.fetchComments(page) } + console.log('3') + await axiosSession.shutdown() + console.log('4') + } \ No newline at end of file