Skip to content

Commit

Permalink
Add LiveViewTest.assert_* macros to locals_without_parens config (#5991)
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinst authored Jan 27, 2025
1 parent bd589f1 commit 82215a5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,24 @@ locals_without_parens = [
on_mount: 1,
slot: 1,
slot: 2,
slot: 3
slot: 3,

# Phoenix.LiveViewTest
assert_patch: 1,
assert_patch: 2,
assert_patch: 3,
assert_patched: 2,
assert_push_event: 3,
assert_push_event: 4,
assert_redirect: 1,
assert_redirect: 2,
assert_redirect: 3,
assert_redirected: 2,
assert_reply: 2,
assert_reply: 3,
refute_redirected: 2,
refute_push_event: 3,
refute_push_event: 4
]

[
Expand Down

0 comments on commit 82215a5

Please sign in to comment.