turn anonymize to empty string

This commit is contained in:
Mylloon 2024-12-10 10:21:56 +01:00
parent 3a81b398bb
commit 273f76df41
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 6 deletions

View file

@ -29,9 +29,8 @@ describe("Capitalize", () => {
}); });
} }
{ {
const name = ""; it("Empty string", () => {
it(name, () => { assert.strictEqual("".capitalize(), "");
assert.strictEqual(name.capitalize(), "");
}); });
} }
}); });

View file

@ -5,9 +5,8 @@ import assert from "node:assert/strict";
describe("Time splitter", () => { describe("Time splitter", () => {
{ {
const name = ""; it("Empty String", () => {
it(name, () => { assert.deepStrictEqual(splitTime(""), { option: OptionReminder.Nothing, time: "" });
assert.deepStrictEqual(splitTime(name), { option: OptionReminder.Nothing, time: "" });
}); });
} }
{ {