Remove some unused declarations

This commit is contained in:
Roman Hotsiy 2016-12-02 12:10:12 +02:00
parent 7d9503d67d
commit 370b164b5f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
7 changed files with 6 additions and 13 deletions

View File

@ -10,7 +10,6 @@ import {
TestBed
} from '@angular/core/testing';
import { ApiInfo } from './api-info';
import { SpecManager } from '../../utils/spec-manager';
describe('Redoc components', () => {

View File

@ -9,7 +9,6 @@ import {
TestBed
} from '@angular/core/testing';
import { ApiLogo } from './api-logo';
import { SpecManager } from '../../utils/spec-manager';

View File

@ -20,9 +20,6 @@ describe('Redoc components', () => {
let component;
let fixture;
beforeEach(inject([TestBed], (tcb) => {
}));
beforeEach(() => {
fixture = TestBed.createComponent(TestAppComponent);
let debugEl = getChildDebugElement(fixture.debugElement, 'json-schema-lazy');

View File

@ -8,8 +8,6 @@ import {
import { getChildDebugElement } from '../../../tests/helpers';
import { JsonSchema } from './json-schema';
import { SpecManager } from '../../utils/spec-manager';;
describe('Redoc components', () => {

View File

@ -18,12 +18,12 @@ describe('Common components', () => {
let component;
let fixture;
beforeEach(inject([TestBed], (tcb) => {
beforeEach(() => {
fixture = TestBed.createComponent(TestApp);
let debugEl = getChildDebugElementByType(fixture.debugElement, StickySidebar);
component = debugEl.injector.get(StickySidebar);
}));
});
it('should init component', () => {

View File

@ -22,14 +22,14 @@ describe('Common components', () => {
let fixture;
let hostComponent;
beforeEach(inject([TestBed], (tcb) => {
beforeEach(() => {
fixture = TestBed.createComponent(TestApp);
hostComponent = fixture.debugElement.componentInstance;
debugEl = getChildDebugElement(fixture.debugElement, 'tabs');
childDebugEls = getChildDebugElementAll(debugEl, 'tab');
component = debugEl.componentInstance;
}));
});
it('should init component', () => {
expect(component).not.toBeNull();

View File

@ -20,12 +20,12 @@ describe('Common components', () => {
let nativeElement;
let fixture;
beforeEach(inject([TestBed], (tcb) => {
beforeEach(() => {
fixture = TestBed.createComponent(TestApp);
let debugEl = getChildDebugElement(fixture.debugElement, 'zippy');
component = debugEl.componentInstance;
nativeElement = debugEl.nativeElement;
}));
});
it('should init component', () => {
expect(component).not.toBeNull();