Inital commit of test file
parent
78a63b91a6
commit
bf7a7a9680
|
@ -0,0 +1,10 @@
|
||||||
|
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)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue