Skip to content

Expose LLExpect.affirm function for flexibility #109

Open
@timerg

Description

@timerg

Currently the whole LLExpect are hidden from interface file, so does the affirm function.

In some use cases, I need to run jest expect validation inside a scope (such as promise).
Under these cases, it is hard to return the assertion to testPromise, and is inappropriate to feed result to testAsync callback.

This link is one of the situation I met.

So would it be feasible that the affirm function is exposed to the user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions