From 357b50eea4d323662ae20aa8c0577936b80d8398 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Wed, 17 Aug 2022 13:30:16 +0200 Subject: Fix loop if the getAll functions reaches the limit and fix the posts test --- tests/srcom/posts.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/srcom/posts.test.ts') diff --git a/tests/srcom/posts.test.ts b/tests/srcom/posts.test.ts index aad5f10..788cd53 100644 --- a/tests/srcom/posts.test.ts +++ b/tests/srcom/posts.test.ts @@ -4,8 +4,8 @@ import { posts } from "../../src/srcom/posts.ts"; Deno.test("Get user posts by username", async () => { const res = await posts("1", { outputType: "plain" }); const expected = `Posts: 1 -Site Forums: 588 +Site Forums: 589 Game Forums: 779 -Total: 1367`; +Total: 1368`; assertEquals(res, expected); }); -- cgit v1.2.3