CrossTalkPM/tests/api/redisAPITest.ts

10 lines
272 B
TypeScript
Raw Normal View History

2024-03-17 18:11:00 +00:00
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)
}
}