18 lines
		
	
	
		
			352 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			352 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { AppPage } from './app.po';
 | 
						|
 | 
						|
describe('new App', () => {
 | 
						|
  let page: AppPage;
 | 
						|
 | 
						|
  beforeEach(() => {
 | 
						|
    page = new AppPage();
 | 
						|
  });
 | 
						|
  describe('default screen', () => {
 | 
						|
    beforeEach(() => {
 | 
						|
      page.navigateTo('/Inbox');
 | 
						|
    });
 | 
						|
    it('should say Inbox', () => {
 | 
						|
      expect(page.getParagraphText()).toContain('Inbox');
 | 
						|
    });
 | 
						|
  });
 | 
						|
});
 |