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