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

Working around "unbound-method" rule for jest #13

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

mutantcornholio
Copy link
Contributor

@mutantcornholio mutantcornholio commented Jul 15, 2022

@typescript-eslint/unbound-method rule triggers on expect(someModule.method) callouts by default, which unit tests are filled with. Using jest/unbound-method instead, fixes it.

@typescript-eslint/unbound-method rule triggers on
`expect(someModule.method)` callouts by default, which unit tests are
filled with. Using `jest/unbound-method` instead, fixes it.
@mutantcornholio mutantcornholio requested a review from a team as a code owner July 15, 2022 13:41
@joao-paulo-parity joao-paulo-parity merged commit 55ce9a8 into master Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants