Forum Discussion
maxtester
8 years agoContributor
Ok, so the only way is to make a copy of the object. I tried it with lodash but it fails. I think that I need to create a function which copies only the properties
tristaanogre
8 years agoEsteemed Contributor
What is the reason why you need access to the object after it is closed in the application? Are you doing validation against it? Are you using information from it for other tests? It depends upon what you're looking at doing as to what the better solution is.