Update Chai assertion library to the latest version #6690
Open
Description
Increasing Access
It would allow users to look at the Chai documentation and be able to use any assertions that they find there.
Most appropriate sub-area of p5.js?
- Accessibility
- Color
- Core/Environment/Rendering
- Data
- DOM
- Events
- Image
- IO
- Math
- Typography
- Utilities
- WebGL
- Build Process
- Unit Testing
- Internalization
- Friendly Errors
- Other (specify if possible)
Feature enhancement details
We are using chai
version ^3.5.0
but we should update it to ^5.0.0
.
I tried writing a unit test with assert.notExists()
but I got an error that notExists
isn't a function. Updating to the latest version will enable more types of assertions like this.