Skip to content

Commit

Permalink
test: try fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhilt committed Dec 4, 2024
1 parent 926b1b3 commit 7dbc92a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/cartesify/AxiosLikeClientV2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ describe("AxiosLikeClientV2", () => {

it("should handle 'Error: connect ECONNREFUSED 127.0.0.1:12345' doing GET. Connection refused", async () => {
const error = await axiosLikeClient.get("http://127.0.0.1:12345/wrongPort").catch((e) => e)
expect(error).toThrowError()
expect(error.name).toBe("Error")
expect(error.message).toBe("connect ECONNREFUSED 127.0.0.1:12345")
}, TEST_TIMEOUT)
Expand Down

0 comments on commit 7dbc92a

Please sign in to comment.