1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

some more tests

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian Malton 2020-07-15 09:45:16 -04:00
parent 968fa52958
commit 10c9acd690

View File

@ -48,4 +48,9 @@ describe("human format durations", () => {
expect(formatDuration(0, false)).toBe("0s");
expect(formatDuration(0, true)).toBe("0s");
});
test("small duration should output something", () => {
expect(formatDuration(1, false)).toBe("0s");
expect(formatDuration(3, true)).toBe("0s");
});
});