chai-datetime icon indicating copy to clipboard operation
chai-datetime copied to clipboard

chai v5 support

Open justin-mellor opened this issue 5 months ago • 1 comments

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

justin-mellor avatar Sep 05 '24 13:09 justin-mellor