File tree Expand file tree Collapse file tree 4 files changed +30
-29
lines changed
Expand file tree Collapse file tree 4 files changed +30
-29
lines changed Original file line number Diff line number Diff line change 11import { AppPage } from './app.po' ;
22
33describe ( 'workspace-project App' , ( ) => {
4- let page : AppPage ;
4+ let page : AppPage ;
55
6- beforeEach ( ( ) => {
7- page = new AppPage ( ) ;
8- } ) ;
6+ beforeEach ( ( ) => {
7+ page = new AppPage ( ) ;
8+ } ) ;
99
10- it ( 'should display welcome message' , ( ) => {
11- page . navigateTo ( ) ;
12- expect ( page . getTitleText ( ) ) . toEqual ( 'Welcome to ui5-webcomponents-sample-angular!' ) ;
13- } ) ;
10+ it ( 'should display welcome message' , ( ) => {
11+ page . navigateTo ( ) ;
12+ expect ( page . getTitleText ( ) ) . toEqual ( 'Welcome to ui5-webcomponents-sample-angular!' ) ;
13+ } ) ;
1414} ) ;
Original file line number Diff line number Diff line change 11import { browser , by , element } from 'protractor' ;
22
33export class AppPage {
4- navigateTo ( ) {
5- return browser . get ( '/' ) ;
6- }
4+ navigateTo ( ) {
5+ return browser . get ( '/' ) ;
6+ }
77
8- getTitleText ( ) {
9- return element ( by . css ( 'app-root h1' ) ) . getText ( ) ;
10- }
8+ getTitleText ( ) {
9+ return element ( by . css ( 'app-root h1' ) ) . getText ( ) ;
10+ }
1111}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { UserInputComponent } from './user-input/user-input.component';
77import { ListComponent } from './list/list.component' ;
88
99// UI5 Web Components used
10- import { setTheme } from " @ui5/webcomponents-base/dist/config/Theme" ;
10+ import { setTheme } from ' @ui5/webcomponents-base/dist/config/Theme' ;
1111import '@ui5/webcomponents/dist/Button' ;
1212import '@ui5/webcomponents/dist/Title' ;
1313import '@ui5/webcomponents/dist/Input' ;
@@ -21,19 +21,19 @@ import '@ui5/webcomponents/dist/TextArea';
2121import '@ui5/webcomponents/dist/StandardListItem' ;
2222import '@ui5/webcomponents-fiori/dist/ShellBar' ;
2323import '@ui5/webcomponents-fiori/dist/Assets' ;
24- setTheme ( " sap_horizon" ) ;
24+ setTheme ( ' sap_horizon' ) ;
2525@NgModule ( {
26- declarations : [
27- AppComponent ,
28- HeaderComponent ,
29- ListComponent ,
30- UserInputComponent
31- ] ,
32- schemas : [ CUSTOM_ELEMENTS_SCHEMA ] ,
33- imports : [
34- BrowserModule
35- ] ,
36- providers : [ ] ,
37- bootstrap : [ AppComponent ]
26+ declarations : [
27+ AppComponent ,
28+ HeaderComponent ,
29+ ListComponent ,
30+ UserInputComponent
31+ ] ,
32+ schemas : [ CUSTOM_ELEMENTS_SCHEMA ] ,
33+ imports : [
34+ BrowserModule
35+ ] ,
36+ providers : [ ] ,
37+ bootstrap : [ AppComponent ]
3838} )
3939export class AppModule { }
Original file line number Diff line number Diff line change 2323 "import-spacing" : true ,
2424 "indent" : [
2525 true ,
26- " spaces"
26+ " tabs" ,
27+ 4
2728 ],
2829 "interface-over-type-literal" : true ,
2930 "label-position" : true ,
You can’t perform that action at this time.
0 commit comments