Skip to content

Commit 2d554c7

Browse files
add test case for converting noon time in timeConverter.test.js
1 parent ed32fd8 commit 2d554c7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ test("correctly convert time after 12:00", function(){
99
test("can correctly convert morning time", function() {
1010
assert.equal(formatAs12HourClock("08:00"), "08:00 am");
1111
});
12+
13+
14+
test("can correctly convert morning time", function() {
15+
assert.equal(formatAs12HourClock("12:00"), "12:00 pm");
16+
});

0 commit comments

Comments
 (0)