Skip to content
New issue

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

.all.include doesn't work as expected #63

Open
JonnoFTW opened this issue Aug 12, 2021 · 0 comments
Open

.all.include doesn't work as expected #63

JonnoFTW opened this issue Aug 12, 2021 · 0 comments

Comments

@JonnoFTW
Copy link

When using all and include

import {expect, use} from "chai";
use(require("chai-things"));

expect(["abc", "bcd"]).to.all.include("bc");

You get the error:

AssertionError: expected 'abc' to include 'bc'

Ideally this test should pass, unless I am misunderstanding something here..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant