Automattic / Automattic/expect.js
Add case-insensitive equality check
Open
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
I would really prefer something like
```
expect(something).to.equalCaseInsensitive(other);
```
over
```
expect(something.toLowerCase()).to.equal(other.toLowerCase());
```
Can we have this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the existing equality assertion API and its tests to find where a case-insensitive matcher would fit. Done means supporting the requested equalCaseInsensitive syntax and covering comparisons with the existing test suite.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100