Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Jan 17, 2025
1 parent 5b9fc58 commit cf156e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/api/tests/documents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe("document fetching", () => {
expect(result).toStrictEqual(document);
expect(mockFetch).toBeCalledWith(
new URL(
`documents/${document.id}.json?expand=user%2Corganization%2Cprojects%2Crevisions%2Csections%2Cnotes.user`,
`documents/${document.id}/?expand=user%2Corganization%2Cprojects%2Crevisions%2Csections%2Cnotes.user`,
BASE_API_URL,
),
{
Expand Down

0 comments on commit cf156e4

Please sign in to comment.