Skip to content

Commit

Permalink
improving test naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Sep 24, 2024
1 parent 6344402 commit 6f5f9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils/stringService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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...");
Expand All @@ -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...");
Expand Down

0 comments on commit 6f5f9b8

Please sign in to comment.