Add interface to view post and user JSON data

This commit is contained in:
Jesse Wierzbinski 2024-04-08 18:33:59 -10:00
parent 342a8011f1
commit db37510370
No known key found for this signature in database
21 changed files with 248 additions and 122 deletions

View file

@ -172,7 +172,7 @@ describe("API Tests", () => {
expect(account.statuses_count).toBe(0);
expect(account.note).toBe("");
expect(account.url).toBe(
new URL(`/users/${user.id}`, config.http.base_url).toString(),
new URL(`/@${user.username}`, config.http.base_url).toString(),
);
expect(account.avatar).toBeDefined();
expect(account.avatar_static).toBeDefined();