build(aio): update angular to 4.1.0, typescript to 2.3.2

This commit is contained in:
Alexander Zhukov 2017-05-02 11:51:17 +03:00
parent 8516b88c02
commit 3d4cf8754f
4 changed files with 77 additions and 111 deletions

View file

@ -1,19 +0,0 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { NgaDemoPage } from './app.po';
describe('nga-demo App', () => {
let page: NgaDemoPage;
beforeEach(() => {
page = new NgaDemoPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
});

View file

@ -1,16 +0,0 @@
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { browser, element, by } from 'protractor';
export class NgaDemoPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}