@@ -82,36 +82,36 @@ local config = {
82
82
" end" ,
83
83
},
84
84
},
85
- [" lib/**/live/*_live .ex" ] = {
85
+ [" lib/**/live/*.ex" ] = {
86
86
type = " liveview" ,
87
- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
87
+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
88
88
template = {
89
- " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}Live do" ,
89
+ " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize} do" ,
90
90
" use {dirname|camelcase|capitalize}, :live_view" ,
91
91
" end" ,
92
92
},
93
93
},
94
- [" test/**/live/*_live_test .exs" ] = {
94
+ [" test/**/live/*_test .exs" ] = {
95
95
type = " test" ,
96
- alternate = " lib/{dirname}/live/{basename}_live .ex" ,
96
+ alternate = " lib/{dirname}/live/{basename}.ex" ,
97
97
template = {
98
- " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}LiveTest do" ,
98
+ " defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}Test do" ,
99
99
" use {dirname|camelcase|capitalize}.ConnCase" ,
100
100
" " ,
101
101
" import Phoenix.LiveViewTest" ,
102
102
" end" ,
103
103
},
104
104
},
105
- [" lib/**/live/*_live .html.leex" ] = {
105
+ [" lib/**/live/*.html.leex" ] = {
106
106
type = " leex" ,
107
- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
107
+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
108
108
template = {
109
109
" " ,
110
110
},
111
111
},
112
- [" lib/**/live/*_live .html.heex" ] = {
112
+ [" lib/**/live/*.html.heex" ] = {
113
113
type = " heex" ,
114
- alternate = " test/{dirname}/live/{basename}_live_test .exs" ,
114
+ alternate = " test/{dirname}/live/{basename}_test .exs" ,
115
115
template = {
116
116
" " ,
117
117
},
0 commit comments