fix test 2.0

This commit is contained in:
Paola 2021-07-23 23:03:39 -06:00
parent 9f2809f61b
commit 5e4210bf8e
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ describe('Service Tests', () => {
describe('resolve', () => { describe('resolve', () => {
it('should return IEncuesta returned by find', () => { it('should return IEncuesta returned by find', () => {
// GIVEN // GIVEN
service.find = jest.fn(id => of(new HttpResponse({ body: { id } }))); // service.find = jest.fn(id => of(new HttpResponse({ body: { id } })));
mockActivatedRouteSnapshot.params = { id: 123 }; mockActivatedRouteSnapshot.params = { id: 123 };
// WHEN // WHEN