blob: 2ce833de72b633dcb404752bdc741551d2929baa [file] [log] [blame]
import { ContactsListComponent } from './contacts-list.component';
import { ToastrService } from 'ngx-toastr';
class MockToastrService {
success(message?: string, title?: string, override?: any) { }
}
describe('ContactsListComponent', () => {
let component: ContactsListComponent;
const sandbox: any = {};
let toastr: MockToastrService;
beforeEach(() => {
toastr = new MockToastrService();
component = new ContactsListComponent(sandbox, toastr as any);
});
it('should create', () => {
expect(component).toBeTruthy();
});
});