import { AppPage } from "./app.po" ; describe ( "demo-app App" , ( ) => { let page ; beforeEach ( ( ) => { page = new AppPage ( ) ; } ) ; it ( "should display welcome message" , ( ) => { page . navigateTo ( ) ; expect ( page . getParagraphText ( ) ) . toEqual ( "Welcome to app!" ) ; } ) ; } ) ;