@@ -71,9 +71,9 @@ describe('Zone updates', () => {
7171 expect ( ttime ( 'May 8, 1945 UTC' , 'MMM D, Y z' ) . epochMillis ) . to . equal ( Date . parse ( 'May 8, 1945 00:00+00:00' ) ) ;
7272 expect ( ttime ( '8/5/1945' , 'IS' , 'es' ) . format ( 'IM' ) ) . to . match ( / ^ 8 m a y \. ? 1 9 4 5 $ / ) ;
7373 expect ( ttime ( '8/5/45' , 'IS' , 'es' ) . format ( 'IM' ) ) . to . match ( / ^ 8 m a y \. ? 2 0 4 5 $ / ) ;
74- expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'LLLL' ) ) . to . equal ( 'Saturday, February 5, 1955, 3:12 AM' ) ;
74+ expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'LLLL' ) ) . to . equal ( 'Saturday, February 5, 1955 at 3:12 AM' ) ;
7575 expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'llll' ) ) . to . equal ( 'Sat, Feb 5, 1955, 3:12 AM' ) ;
76- expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'LLL' ) ) . to . equal ( 'February 5, 1955, 3:12 AM' ) ;
76+ expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'LLL' ) ) . to . equal ( 'February 5, 1955 at 3:12 AM' ) ;
7777 expect ( ttime ( [ 1955 , 2 , 5 , 3 , 12 ] ) . format ( 'lll' ) ) . to . equal ( 'Feb 5, 1955, 3:12 AM' ) ;
7878 expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'LL' ) ) . to . equal ( 'February 5, 1955' ) ;
7979 expect ( ttime ( '2/5/1955 03:12 am' , 'ISS' ) . format ( 'll' ) ) . to . equal ( 'Feb 5, 1955' ) ;
@@ -110,9 +110,9 @@ describe('Zone updates', () => {
110110 } ) ;
111111
112112 it ( 'should be able to create DateTimeFormat instances without dateStyle/timeStyle exceptions' , ( ) => {
113- expect ( ( ) => newDateTimeFormat ( 'fr' , { timeStyle : 'short' , hour : '2-digit' } ) ) . to . not . throw ( ) ;
113+ expect ( ( ) => newDateTimeFormat ( 'fr' , { timeStyle : 'short' , hour : '2-digit' } as any ) ) . to . not . throw ( ) ;
114114
115- const options = newDateTimeFormat ( 'en-US' , { dateStyle : 'short' , era : 'short' } ) . resolvedOptions ( ) ;
115+ const options = newDateTimeFormat ( 'en-US' , { dateStyle : 'short' , era : 'short' } as any ) . resolvedOptions ( ) ;
116116
117117 expect ( options . era ) . to . equal ( 'short' ) ;
118118 expect ( ( options as any ) . dateStyle ) . to . be . undefined ;
0 commit comments