Skip to content

Commit

Permalink
remove eslint disable comment
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkdo committed Jun 4, 2019
1 parent 89d7a9f commit 29687be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions datetime/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ test(function parseDateTime(): void {
test(function invalidParseDateTimeFormatThrows(): void {
assertThrows(
(): void => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(datetime as any).parseDateTime("2019-01-01 00:00", "x-y-z");
datetime.parseDateTime("2019-01-01 00:00", "x-y-z");
},
Error,
'Invalid datetime format!'
Expand All @@ -59,8 +58,7 @@ test(function parseDate(): void {
test(function invalidParseDateFormatThrows(): void {
assertThrows(
(): void => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(datetime as any).parseDate("2019-01-01", "x-y-z");
datetime.parseDate("2019-01-01", "x-y-z");
},
Error,
'Invalid date format!'
Expand Down

0 comments on commit 29687be

Please sign in to comment.