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