We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So I am testing my API, that returns something like this:
{ "authToken": "osujOkJpGLyhTVc9DBqs37U24PaBpz5CBC8k5Dr2" }
When I run on response expect(response.body).should.deep.include('authToken'); I get
expect(response.body).should.deep.include('authToken');
Uncaught AssertionError: object tested must be an array, a map, an object, a set, a string, or a weakset, but object given
The text was updated successfully, but these errors were encountered:
This should be fixed in Chai v4.1.1 and later per chaijs/chai#1012
Sorry, something went wrong.
No branches or pull requests
So I am testing my API, that returns something like this:
When I run on response
expect(response.body).should.deep.include('authToken');
I getThe text was updated successfully, but these errors were encountered: