supertest
supertest copied to clipboard
How can I read JSON sub structures and validate the property values
Hello,
I am able to use expect and validate property values on the response received but when I try to expand a sub structure for example /entityset/substructure. I get this
{d : {results : {Object}}} as the response body I need to be able to expand it. I did try to parse it but got an error while parsing.....