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(name, () => {
assert.strictEqual(name.capitalize(), "");
it("Empty string", () => {
assert.strictEqual("".capitalize(), "");
});
}
});

View file

@ -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: "" });
});
}
{