Skip to content

Commit 2c72694

Browse files
committed
fixup! chore: upgrade Axios version to 0.28.0
1 parent a789300 commit 2c72694

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cardano-services/test/Handle/HandleHttpService.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ describe('HandleHttpService', () => {
5656

5757
const { message, response } = error;
5858

59-
if (!response) return { message, statusText: `${error.status}` };
59+
if (!response)
60+
return {
61+
message,
62+
statusText: `${typeof error.status === 'string' ? error.status : JSON.stringify(error.status)}`
63+
};
6064

6165
const { data, status, statusText } = response;
6266

0 commit comments

Comments
 (0)