Skip to content

Commit 04df6ca

Browse files
committed
Add test for first time hour >= 13 (it passes)
1 parent 1ddd306 commit 04df6ca

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎format-clock-edge-cases/timeConverter.test.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ test("can format last minute before noon", () =>
3131

3232
test("can format last minute before midnight", () =>
3333
assert.equal(formatAs12HourClock("23:59"), "11:59 pm"));
34+
35+
test("can format first time hour >= 13", () =>
36+
assert.equal(formatAs12HourClock("13:00"), "01:00 pm"));

0 commit comments

Comments
 (0)