angular and node server

This commit is contained in:
Anthony Sgueglia
2020-03-25 12:20:01 -04:00
commit ca168ac9e2
41 changed files with 22743 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { RockPaperScissorsPage } from './app.po';
describe('rock-paper-scissors App', () => {
let page: RockPaperScissorsPage;
beforeEach(() => {
page = new RockPaperScissorsPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
+11
View File
@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';
export class RockPaperScissorsPage {
navigateTo() {
return browser.get('/');
}
getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
+14
View File
@@ -0,0 +1,14 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}