feature/upgrade #12
5 changed files with 21 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
import {AppComponent} from './app.component';
|
||||
import {async, ComponentFixture, TestBed} from '@angular/core/testing';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {InputComponentManagerService} from './inputcomponentmanager.service';
|
||||
import {InputComponentManagerService} from './input-component-manager.service';
|
||||
import {Step} from './step';
|
||||
import {ConverterRegistryService} from './converter-registry.service';
|
||||
import {Converter} from './converter/converter';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import {Component, OnInit} from '@angular/core';
|
||||
import {ConverterRegistryService} from './converter-registry.service';
|
||||
import {InputComponentManagerService} from './inputcomponentmanager.service';
|
||||
import {InputComponentManagerService} from './input-component-manager.service';
|
||||
import {Step} from './step';
|
||||
import {Converter} from './converter/converter';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {BrowserModule} from '@angular/platform-browser';
|
|||
import {NgModule} from '@angular/core';
|
||||
import {AppComponent} from './app.component';
|
||||
import {ConverterRegistryService} from './converter-registry.service';
|
||||
import {InputComponentManagerService} from './inputcomponentmanager.service';
|
||||
import {InputComponentManagerService} from './input-component-manager.service';
|
||||
import {NativeLibraryWrapperService} from './nativelibrarywrapper.service';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {VersionComponent} from './version/version.component';
|
||||
|
|
15
src/app/input-component-manager.service.spec.ts
Normal file
15
src/app/input-component-manager.service.spec.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { TestBed, inject } from '@angular/core/testing';
|
||||
|
||||
import { InputComponentManagerService } from './input-component-manager.service';
|
||||
|
||||
describe('InputComponentManagerService', () => {
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
providers: [InputComponentManagerService]
|
||||
});
|
||||
});
|
||||
|
||||
it('should be created', inject([InputComponentManagerService], (service: InputComponentManagerService) => {
|
||||
expect(service).toBeTruthy();
|
||||
}));
|
||||
});
|
|
@ -1,7 +1,9 @@
|
|||
import {Injectable} from '@angular/core';
|
||||
import {Step} from './step';
|
||||
|
||||
@Injectable()
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class InputComponentManagerService {
|
||||
private components: Step[] = [];
|
||||
|
Loading…
Reference in a new issue