mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
build(aio): update angular to 4.1.0, typescript to 2.3.2
This commit is contained in:
parent
8516b88c02
commit
3d4cf8754f
4 changed files with 77 additions and 111 deletions
|
@ -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!');
|
||||
});
|
||||
});
|
|
@ -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();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue