-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
area: repository toolingconcerning ease of contributionconcerning ease of contributionstatus: accepting prsMocha can use your help with this one!Mocha can use your help with this one!
Milestone
Description
Tooling Suggestion Checklist
- I have tried restarting my IDE and the issue persists.
- I have pulled the latest
mainbranch of the repository. - I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
- I have searched for related issues and issues with the
faqlabel, but none matched my issue. - I want to provide a PR to resolve this
Overview
Mocha's internal tests are currently using a customized fork of unexpected with assertions like expect(x, 'not to equal', y), but popular assertion libraries often use expect(x).not.toEqual(y) for easier chaining and IntelliSense suggestions. We should update our internal assertion syntax to be more consistent with these popular libraries for improved developer experience.
Additional Info
This probably won't improve consistency of our tests, but it'll be easier for others to contribute!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: repository toolingconcerning ease of contributionconcerning ease of contributionstatus: accepting prsMocha can use your help with this one!Mocha can use your help with this one!
Type
Projects
Status
No status