Skip to content

Commit

Permalink
test(datepicker): fix forgotten @Injectable() annotation (#3436)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxokorokov committed Oct 25, 2019
1 parent 01a5669 commit 50c2ac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datepicker/datepicker-integration.spec.ts
Expand Up @@ -13,6 +13,7 @@ describe('ngb-datepicker integration', () => {

it('should allow overriding datepicker calendar', () => {

@Injectable()
class FixedTodayCalendar extends NgbCalendarGregorian {
getToday() { return new NgbDate(2000, 7, 1); }
}
Expand Down

0 comments on commit 50c2ac2

Please sign in to comment.