fix test 2.0
This commit is contained in:
parent
9f2809f61b
commit
5e4210bf8e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue