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
not.to.include
toEqual(expect.arrayContaining...)
The Chai codemod seems to be sensitive to not ordering in some cases. Assertions of the form
not
expect(array).not.to.contain(member);
are incorrectly inverted to
expect(array).toEqual(expect.arrayContaining([member]));
While
expect(array).to.not.contain(member);
results in the expected
expect(array).toEqual(expect.not.arrayContaining([member]));
The text was updated successfully, but these errors were encountered:
Thanks for reporting. Let us know if you want to create a PR fixing this. :)
Sorry, something went wrong.
@seansfkelley @skovhus i believe this was addressed in #244
No branches or pull requests
The Chai codemod seems to be sensitive to
not
ordering in some cases. Assertions of the formare incorrectly inverted to
While
results in the expected
The text was updated successfully, but these errors were encountered: