Initial CoreUI commit

The initial new codebase from a template
This commit is contained in:
piratefinn 2017-04-27 15:29:31 +01:00
parent 39f90b1897
commit 6f084171dd
511 changed files with 27578 additions and 1649 deletions

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

@ -0,0 +1,14 @@
import { CoreUIPage } from './app.po';
describe('core-ui App', function() {
let page: CoreUIPage;
beforeEach(() => {
page = new CoreUIPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
});
});

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

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

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

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