Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Jan 26, 2024
1 parent ab326f0 commit 9536b93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 151 deletions.
148 changes: 0 additions & 148 deletions src/app/jdnconvertiblecalendar/lib/names.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export class JDNConvertibleCalendarDateAdapter extends DateAdapter<JDNConvertibl
private static readonly MM_YYYY = 'MM-YYYY';

private static readonly displayDateFormats = [
JDNConvertibleCalendarDateAdapter.DD_MM_YYYY,
JDNConvertibleCalendarDateAdapter.MM_YYYY,
'DD-MM-YYYY',
'MM-YYYY',
];

private static readonly parsableDateFormats = [JDNConvertibleCalendarDateAdapter.DD_MM_YYYY];
private static readonly parsableDateFormats = ['DD-MM-YYYY'];

private static readonly dateFormatRegexes = {
'DD-MM-YYYY': new RegExp('^(\\d?\\d)-(\\d?\\d)-(\\d{4})'),
Expand Down

0 comments on commit 9536b93

Please sign in to comment.