From 6f5f9b8ea03a288031c77267f85534bb11c6ef7c Mon Sep 17 00:00:00 2001 From: Nico <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:29:56 +0200 Subject: [PATCH] improving test naming --- tests/utils/stringService.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils/stringService.test.js b/tests/utils/stringService.test.js index f1767ce4..c0245129 100644 --- a/tests/utils/stringService.test.js +++ b/tests/utils/stringService.test.js @@ -423,7 +423,7 @@ describe("Should test advancedMinifyDomain function", () => { expect(advancedMinifyDomain("example.com")).toEqual("example.com"); }); - it("Should return the shortened domain if the length is greater than the default characterToBreak", () => { + it("Should return the minified domain if the length is greater than the default characterToBreak", () => { expect( advancedMinifyDomain("averylongdomainnametoshorten.com", 10, 13) ).toEqual("averylongd..."); @@ -433,7 +433,7 @@ describe("Should test advancedMinifyDomain function", () => { expect(advancedMinifyDomain("example.com", 10, 15)).toEqual("example.com"); }); - it("Should return the shortened domain if the length is greater than the custom characterToBreak", () => { + it("Should return the minified domain if the length is greater than the custom characterToBreak", () => { expect( advancedMinifyDomain("averylongdomainnametoshorten.com", 10, 15) ).toEqual("averylongd...");