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

feat(unbound-method): ignore functions passed to jest.mocked #1681

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

FloEdelmann
Copy link
Contributor

Fixes #1596.

Copy link
Collaborator

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey thanks and sorry this completely fell off my radar! I don't actually remember seeing the original issue even though I did label it 😅

src/rules/unbound-method.ts Outdated Show resolved Hide resolved
@G-Rath G-Rath changed the title feat(unbound-methods): ignore functions passed to jest.mocked feat(unbound-method): ignore functions passed to jest.mocked Dec 19, 2024
Copy link
Collaborator

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@G-Rath G-Rath merged commit d868636 into jest-community:main Dec 19, 2024
44 checks passed
github-actions bot pushed a commit that referenced this pull request Dec 19, 2024
# [28.10.0](v28.9.0...v28.10.0) (2024-12-19)

### Features

* **unbound-method:** ignore functions passed to `jest.mocked` ([#1681](#1681)) ([d868636](d868636))
Copy link

🎉 This PR is included in version 28.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@FloEdelmann FloEdelmann deleted the unbound-method branch December 19, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[unbound-method]: don't report unbound methods passed to jest.mocked
2 participants