OregonTrail/tests/api/redisAPITest.ts

10 lines
272 B
TypeScript

import { CommentFetcher } from "../../src/rdrama/services/CommentFetcher";
main();
async function main(): Promise<void> {
let maxPages = 5
for (let page = 1; page <= maxPages; page++) {
const newComments = await CommentFetcher.fetchComments(page)
}
}