15 lines
		
	
	
		
			297 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			297 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								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!');
							 | 
						||
| 
								 | 
							
								  });
							 | 
						||
| 
								 | 
							
								});
							 |