-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Milestone
Description
🚀 Feature Proposal
Slightly popular package jest-when(https://www.npmjs.com/package/jest-when) that depend on "expect" use portion of private api require('expect/build/jasmineUtils')
I just raised PR to use jest as peer timkindberg/jest-when#84
We would like to ask jest to expose "equals" from jasmineUtils or provide suitable API to get current equals matcher.
Motivation
- I am worried that can break with ESM enforcing exports fields
- jest-when use private api it is withing jest project rights to break it on minor releases.
- Hopefully jest project consider adding jest-when functionality to core as it is useful and good API
Example
No response
Pitch
See above motivation. Either expose equals or provide jest-when compatible functionality in core.
timkindberg, tranviet2010 and chentsulin
Metadata
Metadata
Assignees
Labels
No labels