Skip to content

Commit 461f54b

Browse files
committed
Add test for last minute before noon (it passes)
1 parent 6f21d29 commit 461f54b

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
@@ -25,3 +25,6 @@ test("can format time between midnight and 1 am", () =>
2525

2626
test("can format exactly midnight", () =>
2727
assert.equal(formatAs12HourClock("00:00"), "12:00 am"));
28+
29+
test("can format last minute before noon", () =>
30+
assert.equal(formatAs12HourClock("11:59"), "11:59 am"));

0 commit comments

Comments
 (0)