Added a first simple test.
That serves as a proof-of-concept and as a template for future tests. It's a start!
This commit is contained in:
		
							parent
							
								
									f3b5a7580a
								
							
						
					
					
						commit
						77a79bf588
					
				
					 7 changed files with 139 additions and 2 deletions
				
			
		
							
								
								
									
										16
									
								
								src/app/app.component.spec.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/app/app.component.spec.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| import {TestBed} from "@angular/core/testing"; | ||||
| import {AppComponent} from "./app.component"; | ||||
| import {FormsModule} from "@angular/forms"; | ||||
| 
 | ||||
| describe('App', () => { | ||||
|     beforeEach(() => { | ||||
|         TestBed.configureTestingModule({ | ||||
|             declarations: [AppComponent], | ||||
|             imports: [FormsModule] | ||||
|         }); | ||||
|     }); | ||||
|     it('should work', () => { | ||||
|         let fixture = TestBed.createComponent(AppComponent); | ||||
|         expect(fixture.componentInstance instanceof AppComponent).toBe(true, 'should create AppComponent'); | ||||
|     }); | ||||
| }); | ||||
|  | @ -4,7 +4,6 @@ import {InputComponentManagerService} from "./inputcomponentmanager.service"; | |||
| import {Converter} from "./converter/converter"; | ||||
| import {NativeLibraryWrapperService} from "./nativelibrarywrapper.service"; | ||||
| import {Step} from "./step"; | ||||
| 
 | ||||
| import "../assets/css/style.css"; | ||||
| 
 | ||||
| @Component({ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue