import { ComponentFixture , TestBed } from '@angular/core/testing' ; import { MockService } from '../../../utils/mock' ; import { DiscoveryTagsService } from '../../discovery/tags/tags.service' ; import { TagSettingsComponent } from './tag-settings.component' ; describe ( 'TagSettingsComponent' , ( ) => { let component ; let fixture ; beforeEach ( async ( ) => { await TestBed . configureTestingModule ( { declarations : [ TagSettingsComponent ] , providers : [ { provide : DiscoveryTagsService , useValue : MockService ( DiscoveryTagsService ) , } , ] , } ) . compileComponents ( ) ; } ) ; beforeEach ( ( ) => { fixture = TestBed . createComponent ( TagSettingsComponent ) ; component = fixture . componentInstance ; fixture . detectChanges ( ) ; } ) ; it ( 'should create' , ( ) => { expect ( component ) . toBeTruthy ( ) ; } ) ; } ) ;