Automattic / Automattic/expect.js

Properties vs keys unification?

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

Description

I think the modifiers should be:
- `only`
- `own`

And we should unify properties/keys. I think the distinction is hard to grasp by just reading tests or the function names.

Thoughts?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing tests and assertion function names to understand how properties and keys currently differ. Evaluate whether the proposed `only` and `own` modifiers can unify those concepts, then document a resolved design and its expected behavior before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.