feature/upgrade #12
1 changed files with 11 additions and 4 deletions
|
@ -3,8 +3,10 @@ import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
|||
import {FormsModule} from '@angular/forms';
|
||||
import {InputComponentManagerService} from './input-component-manager.service';
|
||||
import {Step} from './step';
|
||||
import {ConverterRegistryService} from './converter-registry.service';
|
||||
import {VersionComponent} from './version/version.component';
|
||||
import {ConverterSelectorComponent} from './converter-selector/converter-selector.component';
|
||||
import {TextInputFieldComponent} from './text-input-field/text-input-field.component';
|
||||
import {ErrorMessageComponent} from './error-message/error-message.component';
|
||||
import createSpyObj = jasmine.createSpyObj;
|
||||
|
||||
describe('AppComponent', () => {
|
||||
|
@ -21,11 +23,16 @@ describe('AppComponent', () => {
|
|||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [AppComponent, VersionComponent],
|
||||
declarations: [
|
||||
AppComponent,
|
||||
ConverterSelectorComponent,
|
||||
ErrorMessageComponent,
|
||||
TextInputFieldComponent,
|
||||
VersionComponent
|
||||
],
|
||||
imports: [FormsModule],
|
||||
providers: [
|
||||
{provide: InputComponentManagerService, useValue: inputComponentManagerServiceStub},
|
||||
{provide: ConverterRegistryService, useValue: converterRegistryServiceStub}
|
||||
{provide: InputComponentManagerService, useValue: inputComponentManagerServiceStub}
|
||||
]
|
||||
})
|
||||
.compileComponents();
|
||||
|
|
Loading…
Reference in a new issue