@@ -35,7 +35,10 @@ test('preserved routes generation', () => {
35
35
test ( 'regular routes generation' , ( ) => {
36
36
const modules = {
37
37
'/src/pages/(auth)/_layout.tsx' : { } ,
38
- '/src/pages/(auth)/login.tsx' : { } ,
38
+ '/src/pages/(auth)/login/_layout.tsx' : { } ,
39
+ '/src/pages/(auth)/login/index.tsx' : { } ,
40
+ '/src/pages/(auth)/in/_layout.tsx' : { } ,
41
+ '/src/pages/(auth)/in/index.tsx' : { } ,
39
42
'/src/pages/(auth)/register.tsx' : { } ,
40
43
'/src/pages/(external-auth)/sso.tsx' : { } ,
41
44
'/src/pages/_ignored-directory/components.tsx' : { } ,
@@ -85,7 +88,8 @@ test('regular routes generation', () => {
85
88
id : '(auth)/_layout' ,
86
89
children : [
87
90
{ path : 'register' , id : '(auth)/register' } ,
88
- { path : 'login' , id : '(auth)/login' } ,
91
+ { path : 'in' , id : '(auth)/in/_layout' , children : [ { path : '/' , id : '(auth)/in/index' } ] } ,
92
+ { path : 'login' , id : '(auth)/login/_layout' , children : [ { path : '/' , id : '(auth)/login/index' } ] } ,
89
93
] ,
90
94
} ,
91
95
{
0 commit comments