Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature(expect)]: Expose the underlying spyMatchers #15445

Open
ronyhe opened this issue Jan 12, 2025 · 0 comments
Open

[Feature(expect)]: Expose the underlying spyMatchers #15445

ronyhe opened this issue Jan 12, 2025 · 0 comments

Comments

@ronyhe
Copy link

ronyhe commented Jan 12, 2025

🚀 Feature Proposal

Expose the underlying spyMatchers
PR here: #15288

Motivation

I'd like to use the wonderful expect assertion library without jest, which requires some adaptation.
Other matchers have already been exposed for similar reasons:
#11932
#13328

Example

https://github.com/ronyhe/vid_buster/blob/30f84e7e0439f978c47ce0862c8373dc0034d997/test/asserts.ts

Pitch

This will allow extension and adaptation. Which will make the library usable in a wider array of use-cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant