| 
									
										
										
										
											2018-01-16 07:09:59 -08:00
										 |  |  | import { AppPage } from './app.po'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | describe('cli-hello-world App', () => { | 
					
						
							|  |  |  |   let page: AppPage; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   beforeEach(() => { | 
					
						
							|  |  |  |     page = new AppPage(); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   it('should display welcome message', () => { | 
					
						
							|  |  |  |     page.navigateTo(); | 
					
						
							|  |  |  |     expect(page.getParagraphText()).toEqual('Welcome to app!'); | 
					
						
							|  |  |  |   }); | 
					
						
							| 
									
										
										
										
											2018-04-24 20:30:23 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  |   it('the percent pipe should work', () => { | 
					
						
							|  |  |  |     page.navigateTo(); | 
					
						
							|  |  |  |     expect(page.getPipeContent()).toEqual('100 % awesome'); | 
					
						
							|  |  |  |   }) | 
					
						
							| 
									
										
										
										
											2018-01-16 07:09:59 -08:00
										 |  |  | }); |