@@ -2,7 +2,6 @@ import { BookStaticDataService } from './book-static-data.service';
22import { Book } from './book' ;
33
44describe ( 'BookStaticDataService' , ( ) => {
5-
65 it ( 'should be created' , ( ) => {
76 //expect(service).toBeTruthy();
87 expect ( true ) . toBeFalsy ( ) ;
@@ -20,16 +19,14 @@ describe('BookStaticDataService', () => {
2019 } ) ;
2120 } ) ;
2221
23- describe ( 'getBook (book)' , ( ) => {
22+ describe ( 'updateBook (book)' , ( ) => {
2423 it ( 'should return the given book argument itself' , ( ) => {
2524 expect ( true ) . toBeFalsy ( ) ;
2625 } ) ;
2726 } ) ;
2827
29-
3028 describe ( 'createBook(book)' , ( ) => {
3129 it ( 'should return the book argument itself' , ( ) => {
32-
3330 // const book: Book = {
3431 // 'title': 'The New Design Patterns',
3532 // 'subtitle': 'Elements of Reusable Object-Oriented Software',
@@ -43,7 +40,6 @@ describe('BookStaticDataService', () => {
4340 // }
4441 // };
4542 expect ( true ) . toBeFalsy ( ) ;
46-
4743 } ) ;
4844
4945 it ( 'should add the new book to the dataset' , ( ) => {
@@ -60,8 +56,6 @@ describe('BookStaticDataService', () => {
6056 // }
6157 // };
6258 expect ( true ) . toBeFalsy ( ) ;
63-
6459 } ) ;
6560 } ) ;
66-
6761} ) ;
0 commit comments