diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-08-17 11:30:16 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-08-17 11:30:16 +0000 |
commit | 357b50eea4d323662ae20aa8c0577936b80d8398 (patch) | |
tree | c1b441368ad35c6c91ef114104c7e6c75a8c9360 /tests | |
parent | 98b7f840be40dc696be0b1159e328e657e580977 (diff) | |
download | speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar.gz speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar.bz2 speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar.lz speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar.xz speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.tar.zst speedrunbot-slash-357b50eea4d323662ae20aa8c0577936b80d8398.zip |
Fix loop if the getAll functions reaches the limit and fix the posts test
Diffstat (limited to '')
-rw-r--r-- | tests/srcom/posts.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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); }); |