diff --git a/lib/components/ApiInfo/api-info.spec.ts b/lib/components/ApiInfo/api-info.spec.ts index c2c80bdc..20db1bbc 100644 --- a/lib/components/ApiInfo/api-info.spec.ts +++ b/lib/components/ApiInfo/api-info.spec.ts @@ -10,7 +10,6 @@ import { TestBed } from '@angular/core/testing'; -import { ApiInfo } from './api-info'; import { SpecManager } from '../../utils/spec-manager'; describe('Redoc components', () => { diff --git a/lib/components/ApiLogo/api-logo.spec.ts b/lib/components/ApiLogo/api-logo.spec.ts index f9ba3cd2..b78d78b9 100644 --- a/lib/components/ApiLogo/api-logo.spec.ts +++ b/lib/components/ApiLogo/api-logo.spec.ts @@ -9,7 +9,6 @@ import { TestBed } from '@angular/core/testing'; -import { ApiLogo } from './api-logo'; import { SpecManager } from '../../utils/spec-manager'; diff --git a/lib/components/JsonSchema/json-schema-lazy.spec.ts b/lib/components/JsonSchema/json-schema-lazy.spec.ts index 2ea539d9..9e6df677 100644 --- a/lib/components/JsonSchema/json-schema-lazy.spec.ts +++ b/lib/components/JsonSchema/json-schema-lazy.spec.ts @@ -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'); diff --git a/lib/components/JsonSchema/json-schema.spec.ts b/lib/components/JsonSchema/json-schema.spec.ts index 5c985048..c0e6248d 100644 --- a/lib/components/JsonSchema/json-schema.spec.ts +++ b/lib/components/JsonSchema/json-schema.spec.ts @@ -8,8 +8,6 @@ import { import { getChildDebugElement } from '../../../tests/helpers'; - -import { JsonSchema } from './json-schema'; import { SpecManager } from '../../utils/spec-manager';; describe('Redoc components', () => { diff --git a/lib/shared/components/StickySidebar/sticky-sidebar.spec.ts b/lib/shared/components/StickySidebar/sticky-sidebar.spec.ts index 4880dcdf..af27fe99 100644 --- a/lib/shared/components/StickySidebar/sticky-sidebar.spec.ts +++ b/lib/shared/components/StickySidebar/sticky-sidebar.spec.ts @@ -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', () => { diff --git a/lib/shared/components/Tabs/tabs.spec.ts b/lib/shared/components/Tabs/tabs.spec.ts index c4abefa4..44a13219 100644 --- a/lib/shared/components/Tabs/tabs.spec.ts +++ b/lib/shared/components/Tabs/tabs.spec.ts @@ -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(); diff --git a/lib/shared/components/Zippy/zippy.spec.ts b/lib/shared/components/Zippy/zippy.spec.ts index 4cdebffe..2dd7e178 100644 --- a/lib/shared/components/Zippy/zippy.spec.ts +++ b/lib/shared/components/Zippy/zippy.spec.ts @@ -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();