File tree 4 files changed +13
-9
lines changed 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 7
7
"start" : " ng serve" ,
8
8
"postinstall" : " typings install" ,
9
9
"lint" : " tslint \" src/**/*.ts\" " ,
10
- "test" : " ng test" ,
10
+ "test" : " ng build && ng test --build=false " ,
11
11
"pree2e" : " webdriver-manager update" ,
12
12
"e2e" : " protractor"
13
13
},
Original file line number Diff line number Diff line change @@ -12,12 +12,12 @@ beforeEachProviders(() => [AppComponent]);
12
12
13
13
describe ( 'App: BookRating' , ( ) => {
14
14
it ( 'should create the app' ,
15
- inject ( [ AppComponent ] , ( app : AppComponent ) => {
16
- expect ( app ) . toBeTruthy ( ) ;
17
- } ) ) ;
15
+ inject ( [ AppComponent ] , ( app : AppComponent ) => {
16
+ expect ( app ) . toBeTruthy ( ) ;
17
+ } ) ) ;
18
18
19
- it ( 'should have as title \'app works!\' ' ,
20
- inject ( [ AppComponent ] , ( app : AppComponent ) => {
21
- expect ( app . title ) . toEqual ( 'app works! ' ) ;
22
- } ) ) ;
19
+ it ( 'should have as title "Book Rating" ' ,
20
+ inject ( [ AppComponent ] , ( app : AppComponent ) => {
21
+ expect ( app . title ) . toEqual ( 'Book Rating ' ) ;
22
+ } ) ) ;
23
23
} ) ;
Original file line number Diff line number Diff line change 3
3
*ngFor ="let book of books "> </ br-book >
4
4
5
5
6
- Anzahl Bücher: {{ books.length }}
6
+ Anzahl Bücher: < b > {{ books.length }}</ b >
Original file line number Diff line number Diff line change @@ -2,4 +2,8 @@ export class Book {
2
2
constructor ( public title : string ,
3
3
public description : string ,
4
4
public rating = 0 ) { }
5
+
6
+ // rateUp
7
+
8
+ // rateDown
5
9
}
You can’t perform that action at this time.
0 commit comments