import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { RoleListSnippetComponent } from './role-list-snippet.component'; describe('RoleListSnippetComponent', () => { let component: RoleListSnippetComponent; let fixture: ComponentFixture; beforeEach(async(() => { TestBed.configureTestingModule({ declarations: [RoleListSnippetComponent], teardown: { destroyAfterEach: false } }) .compileComponents(); })); beforeEach(() => { fixture = TestBed.createComponent(RoleListSnippetComponent); component = fixture.componentInstance; fixture.detectChanges(); }); it('should create', () => { expect(component).toBeTruthy(); }); });