Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chai v5 support #57

Open
justin-mellor opened this issue Sep 5, 2024 · 1 comment
Open

chai v5 support #57

justin-mellor opened this issue Sep 5, 2024 · 1 comment

Comments

@justin-mellor
Copy link

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

@mguterl
Copy link
Owner

mguterl commented Sep 6, 2024

Thanks for the report! I'm not actively using chai, but I may take a look at what it will take to support the new API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants