Closed AlexStef closed 7 years ago
same issue here ! 👍
@AlexStef, thank you for reporting the issue! I'll look into it this weekend.
@AlexStef, @pitpit
I've set the depth to the maximum possible value. Now the issue should be fixed in ng-mock-e2e@0.1.2
.
@yevhenpavliuk It works ! Thanks a lot
Hi, thank your for you work, but i encountered an issue with ng-mock-e2e
In the code you use toSrc inside a map function (here : https://github.com/yevhenpavliuk/ng-mock-e2e/blob/master/ng-mock-e2e.js#L191 ) but toSrc has a maximum depth for objects, by default set to 1.
Therefore when i mock some data, if the object has a depth of more than 1, some data will be
undefined
, like this :Do you have any ways not to lose the depths of my mocks ? Thanks in advance