Skip to content

Commit

Permalink
wip :/
Browse files Browse the repository at this point in the history
Refs: BLAIS5-4525
  • Loading branch information
SidraJaved committed Dec 27, 2024
1 parent 78645e1 commit ff1a068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/http/users.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ describe("Function editPassword(username: string, newPassword: string) ", () =>

it("It should return false if request fails due to unknown error and exits through catch block", async () => {

mock_server_request_function(jest.fn(() => Promise.resolve({
mock_server_request_function(jest.fn(() => Promise.reject({
status: 500,
json: () => Promise.reject("Failed")
})));
Expand Down

0 comments on commit ff1a068

Please sign in to comment.