@@ -82,36 +82,36 @@ local config = {
8282 " end" ,
8383 },
8484 },
85- [" lib/**/live/*_live .ex" ] = {
85+ [" lib/**/live/*.ex" ] = {
8686 type = " liveview" ,
87- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
87+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
8888 template = {
89- " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}Live do" ,
89+ " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize} do" ,
9090 " use {dirname|camelcase|capitalize}, :live_view" ,
9191 " end" ,
9292 },
9393 },
94- [" test/**/live/*_live_test .exs" ] = {
94+ [" test/**/live/*_test .exs" ] = {
9595 type = " test" ,
96- alternate = " lib/{dirname}/live/{basename}_live .ex" ,
96+ alternate = " lib/{dirname}/live/{basename}.ex" ,
9797 template = {
98- " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}LiveTest do" ,
98+ " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}Test do" ,
9999 " use {dirname|camelcase|capitalize}.ConnCase" ,
100100 " " ,
101101 " import Phoenix.LiveViewTest" ,
102102 " end" ,
103103 },
104104 },
105- [" lib/**/live/*_live .html.leex" ] = {
105+ [" lib/**/live/*.html.leex" ] = {
106106 type = " leex" ,
107- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
107+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
108108 template = {
109109 " " ,
110110 },
111111 },
112- [" lib/**/live/*_live .html.heex" ] = {
112+ [" lib/**/live/*.html.heex" ] = {
113113 type = " heex" ,
114- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
114+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
115115 template = {
116116 " " ,
117117 },
0 commit comments