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