We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b2efbf commit bab8208Copy full SHA for bab8208
ui/test/shared/date.util.test.ts
@@ -3,7 +3,7 @@ import { formatMs } from "@src/shared/date.util";
3
4
describe("Date Util Test", () => {
5
it("formatMs", () => {
6
- expect(formatMs(undefined)).toBe("");
+ expect(formatMs(undefined)).toBe("-");
7
expect(formatMs(9000)).toBe("9000ms");
8
expect(formatMs(59*1000 + 50)).toBe("59s 50ms");
9
expect(formatMs(7*60*1000 + 50)).toBe("7min 0s");
0 commit comments