@@ -2,31 +2,31 @@ import { formatAs12HourClock } from "./timeConverter.js";
22import assert from "node:assert" ;
33import test from "node:test" ;
44
5- test ( "can correctly convert midnight time " , function ( ) {
5+ test ( "can correctly convert time at midnight " , function ( ) {
66 assert . equal ( formatAs12HourClock ( "00:00" ) , "12:00 AM" ) ;
77} ) ;
88
9- test ( "can correctly convert just after midnight" , function ( ) {
9+ test ( "can correctly convert time just after midnight" , function ( ) {
1010 assert . equal ( formatAs12HourClock ( "00:01" ) , "12:01 AM" ) ;
1111} ) ;
1212
13- test ( "can correctly convert first normal hour" , function ( ) {
13+ test ( "can correctly convert time at the first normal hour" , function ( ) {
1414 assert . equal ( formatAs12HourClock ( "01:00" ) , "01:00 AM" ) ;
1515} ) ;
1616
1717test ( "can correctly convert morning time" , function ( ) {
1818 assert . equal ( formatAs12HourClock ( "08:00" ) , "08:00 AM" ) ;
1919} ) ;
2020
21- test ( "can correctly convert leading zeros in hour and minute" , function ( ) {
21+ test ( "can correctly convert time on leading zeros in hour and minute" , function ( ) {
2222 assert . equal ( formatAs12HourClock ( "09:05" ) , "09:05 AM" ) ;
2323} ) ;
2424
25- test ( "can correctly convert last minute before noon" , function ( ) {
25+ test ( "can correctly convert time just last minute before noon" , function ( ) {
2626 assert . equal ( formatAs12HourClock ( "11:59" ) , "11:59 AM" ) ;
2727} ) ;
2828
29- test ( "can correctly convert time to PM noon" , function ( ) {
29+ test ( "can correctly convert time to PM at noon" , function ( ) {
3030 assert . equal ( formatAs12HourClock ( "12:00" ) , "12:00 PM" ) ;
3131} ) ;
3232
0 commit comments