Migrated project to Kotlin and created a new frontend

This commit is contained in:
2017-12-08 07:27:42 +01:00
parent e362cb1251
commit 46f911c075
102 changed files with 1924 additions and 2675 deletions

View File

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

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

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

View File

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