Skip to content

Commit d5e26af

Browse files
committed
missed casting
1 parent 425ddcf commit d5e26af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/app/user.service.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('UserService', () => {
9191
const userService = getTestBed().get(UserService);
9292
userService.getUsers().subscribe(
9393
response => fail('should have failed with 500 status'),
94-
error => {
94+
(error: HttpErrorResponse) => {
9595
expect(error).toBeTruthy();
9696
expect(error.status).toEqual(500);
9797
}

0 commit comments

Comments
 (0)