Skip to content

Get pass/fail as return value rather than printing to stdout? #1661

@Pomax

Description

@Pomax

Is there a way to get chai to simply return a true/false rather than printing anything to the console? I had a look at the docs on the website but couldn't find anything obvious about configuring chai's behaviour.

(And if there is, could that be added as a section on the "getting started" part of the site?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions