Skip to content

Exist function doesn't work in as-function mode #229

@ks-s-a

Description

@ks-s-a

How I require should library:
const should = require('should/as-function');

How did I write an assertion:
should(cars.tail).is.not.exist();

That I get:
TypeError: should(...).is.not.exist is not a function

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