import { Component, OnInit, OnDestroy } from '@angular/core'; import { Router, ActivatedRoute } from '@angular/router'; import { DebugElement } from '@angular/core'; import { Observable } from 'rxjs/Rx'; import { FormsModule } from '@angular/forms'; import { inject, tick, TestBed, getTestBed, async, fakeAsync, ComponentFixture } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; import { AddressComponent } from './address.component'; import { SharedService } from '../shared.service'; import { UserService } from '../../services/user.service'; import { CheckoutService } from '../../services/checkout.service'; import { CartService } from '../../services/cart.service'; import { CustomerService } from '../../services/customer.service'; import { LookupService } from '../../services/lookup.service'; import { CatalogService } from '../../services/catalog.service'; import { TradeinService } from '../../services/tradein.service'; import { LoggingService } from '../../services/logging.service'; import {HttpClient, HttpHandler} from '@angular/common/http'; // import {Conne} describe('Address Component', () => { let obj: AddressComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ providers: [ SharedService, UserService, CartService, CustomerService, LookupService, CatalogService, TradeinService, LoggingService, CheckoutService, HttpClient, HttpHandler ], imports: [ FormsModule, RouterTestingModule ], declarations: [AddressComponent] }); fixture = TestBed.createComponent(AddressComponent); obj = fixture.componentInstance; TestBed.compileComponents(); })); // tests here it('should be created', () => { expect(obj).toBeTruthy(); }); });