Skip to content

Commit

Permalink
feat(linter): eslint-plugin-jest/prefer-mock-promise-sorthand (#2864)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryue0220 authored Apr 3, 2024
1 parent 28fae2e commit 7bc638e
Show file tree
Hide file tree
Showing 3 changed files with 647 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ mod jest {
pub mod prefer_comparison_matcher;
pub mod prefer_equality_matcher;
pub mod prefer_expect_resolves;
pub mod prefer_mock_promise_shorthand;
pub mod prefer_spy_on;
pub mod prefer_strict_equal;
pub mod prefer_to_be;
Expand Down Expand Up @@ -491,6 +492,7 @@ oxc_macros::declare_all_lint_rules! {
jest::prefer_comparison_matcher,
jest::prefer_equality_matcher,
jest::prefer_expect_resolves,
jest::prefer_mock_promise_shorthand,
jest::prefer_spy_on,
jest::prefer_strict_equal,
jest::prefer_to_be,
Expand Down
Loading

0 comments on commit 7bc638e

Please sign in to comment.