chore: initial commit

This commit is contained in:
tibing 2017-04-11 19:09:02 +03:00
commit 1fb884a633
30 changed files with 6568 additions and 0 deletions

19
e2e/app.e2e-spec.ts Normal file
View file

@ -0,0 +1,19 @@
/**
* @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!');
});
});

16
e2e/app.po.ts Normal file
View file

@ -0,0 +1,16 @@
/**
* @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();
}
}

19
e2e/tsconfig.e2e.json Normal file
View file

@ -0,0 +1,19 @@
{
"compilerOptions": {
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"es2016"
],
"outDir": "../dist/out-tsc-e2e",
"module": "commonjs",
"target": "es6",
"types":[
"jasmine",
"node"
]
}
}