Skip to content

feature discussion [using the chai expect message with assertions] #129

Open
@aishwarya603

Description

If any assert fails because of incorrect args the output doesn't explain actual/expected args. or else
If an assert is done in a loop, there are no args for a message value such as chai's expect. This makes it hard to determine which element in the loop caused the failure.

Can we use the message feature of chai .. If yes can you help with an example ?

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