diff --git a/src/tests/modules/string.test.ts b/src/tests/modules/string.test.ts index f2d9404..cd73a2a 100644 --- a/src/tests/modules/string.test.ts +++ b/src/tests/modules/string.test.ts @@ -29,9 +29,8 @@ describe("Capitalize", () => { }); } { - const name = ""; - it(name, () => { - assert.strictEqual(name.capitalize(), ""); + it("Empty string", () => { + assert.strictEqual("".capitalize(), ""); }); } }); diff --git a/src/tests/utils/commands/reminder.test.ts b/src/tests/utils/commands/reminder.test.ts index c81a7a3..5629d68 100644 --- a/src/tests/utils/commands/reminder.test.ts +++ b/src/tests/utils/commands/reminder.test.ts @@ -5,9 +5,8 @@ import assert from "node:assert/strict"; describe("Time splitter", () => { { - const name = ""; - it(name, () => { - assert.deepStrictEqual(splitTime(name), { option: OptionReminder.Nothing, time: "" }); + it("Empty String", () => { + assert.deepStrictEqual(splitTime(""), { option: OptionReminder.Nothing, time: "" }); }); } {