Skip to content

Commit

Permalink
grahams very small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz committed Nov 14, 2024
1 parent b400979 commit 965df32
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,7 @@ describe("RichTextEditor", () => {
key: "test-key",
policy: "test-policy",
},
});

axiosMock.onPost(mockUploadUrl.href).reply(200);

// Mock the asset update request
axiosMock.onPatch(API_PATHS.ASSET(databaseId, assetId)).reply(200, {
}).onPost(mockUploadUrl.href).reply(200).onPatch(API_PATHS.ASSET(databaseId, assetId)).reply(200, {
id: assetId,
download_url: mockDownloadUrl.href,
filename: file.name,
Expand Down

0 comments on commit 965df32

Please sign in to comment.