Skip to content

Commit c9a00d6

Browse files
committed
updateBook
1 parent bea242c commit c9a00d6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/app/book/shared/book-static-data.service.spec.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { BookStaticDataService } from './book-static-data.service';
22
import { Book } from './book';
33

44
describe('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

Comments
 (0)