Skip to content

chai v5 support #57

@justin-mellor

Description

@justin-mellor

Chai v5 was released in December 2023. It would be great if chai-datetime could be compatible.

Currently if you upgrade chai to v5 you get

TypeError: Cannot read properties of undefined (reading 'use')

chai.use(chaiDate);

I have a simple repro in
https://github.com/justin-mellor/chai-datetime-chai5

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