import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { PreferencesComponent } from './preferences.component'; describe('PreferencesComponent', () => { let component: PreferencesComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [ PreferencesComponent ] }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(PreferencesComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });