| import { async, ComponentFixture, TestBed } from '@angular/core/testing'; |
| import { RouterTestingModule } from '@angular/router/testing'; |
| |
| import { JsonViewerComponent } from './json-viewer.component'; |
| |
| describe('JsonViewerComponent', () => { |
| let component: JsonViewerComponent; |
| let fixture: ComponentFixture<JsonViewerComponent>; |
| |
| beforeEach(async(() => { |
| TestBed.configureTestingModule({ |
| imports:[ |
| RouterTestingModule |
| ], |
| declarations: [ JsonViewerComponent ] |
| }) |
| .compileComponents(); |
| })); |
| |
| beforeEach(() => { |
| fixture = TestBed.createComponent(JsonViewerComponent); |
| component = fixture.componentInstance; |
| fixture.detectChanges(); |
| }); |
| |
| it('should be created', () => { |
| expect(component).toBeTruthy(); |
| }); |
| }); |