diff --git a/src/__tests__/lib/api/BulkSending.test.ts b/src/__tests__/lib/api/BulkSending.test.ts index 66cb95a..22e7182 100644 --- a/src/__tests__/lib/api/BulkSending.test.ts +++ b/src/__tests__/lib/api/BulkSending.test.ts @@ -68,7 +68,7 @@ describe("lib/api/BulkSending: ", () => { expect(result).toEqual(expectedResponseData); }); - it("rejects with api error.", async () => { + it("handles an API error.", async () => { const responseData = { success: false, errors: ["mock-error-1", "mock-error-2"], @@ -110,7 +110,7 @@ describe("lib/api/BulkSending: ", () => { } }); - it("rejects with axios error.", async () => { + it("handles an HTTP transport error.", async () => { const emailData = { from: { email: "sender.mock@email.com", diff --git a/src/__tests__/lib/api/Testing.test.ts b/src/__tests__/lib/api/Testing.test.ts index f71c16c..bc4a776 100644 --- a/src/__tests__/lib/api/Testing.test.ts +++ b/src/__tests__/lib/api/Testing.test.ts @@ -73,7 +73,7 @@ describe("lib/api/Testing: ", () => { expect(result).toEqual(expectedResponseData); }); - it("rejects with api error.", async () => { + it("handles an API error.", async () => { const responseData = { success: false, errors: ["mock-error-1", "mock-error-2"], @@ -115,7 +115,7 @@ describe("lib/api/Testing: ", () => { } }); - it("rejects with axios error.", async () => { + it("handles an HTTP transport error.", async () => { const emailData = { from: { email: "sender.mock@email.com",