Move everything to the _old directory and add the angular-cli generated

angular app scaffold.
This commit is contained in:
Manuel Friedli 2017-11-10 17:30:09 +01:00
parent a482920f44
commit e23cb55543
87 changed files with 6849 additions and 36 deletions

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

@ -0,0 +1,14 @@
import { AppPage } from './app.po';
describe('uhr App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});

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

@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';
export class AppPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}

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

@ -0,0 +1,14 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}