These are chat archives for dareid/chakram

Jul 2017
Jul 11 2017 19:30
Hi, I am pretty new to JS. I am planning to use Chakram in my new project for test API developed using NodeJS. I want to compare a predefined body with the response body. I have defined the expected response in the var and tried to use this expect(exists.body).to.equal(expectedResponse) but I am getting error "SyntaxError: Unexpected token [".
Note: My response is an array which starts with [