tests: use node:test #210
2 changed files with 4 additions and 6 deletions
|
@ -29,9 +29,8 @@ describe("Capitalize", () => {
|
|||
});
|
||||
}
|
||||
{
|
||||
const name = "";
|
||||
it(name, () => {
|
||||
assert.strictEqual(name.capitalize(), "");
|
||||
it("Empty string", () => {
|
||||
assert.strictEqual("".capitalize(), "");
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -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: "" });
|
||||
});
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue