UNPKG

ng-mat-daterange-picker

Version:

[![CircleCI](https://circleci.com/gh/ashishgkwd/ngx-mat-daterange-picker.svg?style=shield)](https://circleci.com/gh/ashishgkwd/ngx-mat-daterange-picker) [![Maintainability](https://api.codeclimate.com/v1/badges/2b0d09a866f6d2ed139c/maintainability)](https

25 lines (20 loc) 608 B
import { TestBed, inject } from '@angular/core/testing'; import { CalendarOverlayService } from './calendar-overlay.service'; import { Overlay } from '@angular/cdk/overlay'; class MockOverlay {} describe('CalendarOverlayService', () => { beforeEach(() => { TestBed.configureTestingModule({ providers: [ { provide: Overlay, useClass: MockOverlay }, CalendarOverlayService ] }); }); it('should be created', inject( [CalendarOverlayService], (service: CalendarOverlayService) => { expect(service).toBeTruthy(); } )); });