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:
parent
968fa52958
commit
10c9acd690
@ -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");
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user