Skip to content

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

@JonnoFTW

Description

@JonnoFTW

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions