Automattic / Automattic/expect.js
have.property(key, value) asserts "==="-equality
Open
- Dominant language
- JavaScript
- Stars
- 2.1k
- Forks
- 207
- PR merge metrics
- No merged PRs in 30d
Description
I personally expected
```
expect(object).to.have.property(key, value);
```
to behave just like
```
expect(object).to.have.property(key);
expect(object[key]).to.eql(value);
```
but it does ".equal(value)" instead. Which one is the right behaviour?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.