Automattic / Automattic/expect.js

expect(new Date()).to.eql(false)

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.1k
Forks
207
PR merge metrics
No merged PRs in 30d

Description

```
expect(new Date()).to.eql(false)
```
passes?!

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test entry point is named. Start by reproducing the shown assertion and tracing the equality assertion it exercises; done means the reported Date-versus-boolean case is covered by a regression test and no longer passes unexpectedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.