This commit is contained in:
Le Deng
2017-03-05 11:47:24 -05:00
commit 899840faf8
322 changed files with 7825 additions and 0 deletions

View File

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

View File

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

View File

@@ -0,0 +1,16 @@
{
"compileOnSave": false,
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",
"moduleResolution": "node",
"outDir": "../dist/out-tsc-e2e",
"sourceMap": true,
"target": "es5",
"typeRoots": [
"../node_modules/@types"
]
}
}