@@ -41,8 +41,6 @@ const SETTINGS_ROUTE_PATHS = [
4141 } ,
4242 { routeId : "worktrees" , path : "/settings/worktrees" , alias : "/worktrees" } ,
4343 { routeId : "ai-agents" , path : "/settings/ai-agents" , alias : "/ai-agents" } ,
44- { routeId : "debug" , path : "/settings/debug" , alias : "/debug" } ,
45- { routeId : "logs" , path : "/settings/logs" , alias : "/logs" } ,
4644] as const satisfies readonly { routeId : RouteId ; path : string ; alias : string } [ ] ;
4745
4846const leadingSlashNormalizerCases = [
@@ -200,6 +198,8 @@ describe("pathForRoute", () => {
200198 it ( "returns correct path without base" , ( ) => {
201199 expect ( pathForRoute ( "chat" ) ) . toBe ( "/chat" ) ;
202200 expect ( pathForRoute ( "overview" ) ) . toBe ( "/overview" ) ;
201+ expect ( pathForRoute ( "debug" ) ) . toBe ( "/debug" ) ;
202+ expect ( pathForRoute ( "logs" ) ) . toBe ( "/logs" ) ;
203203 } ) ;
204204
205205 it ( "prepends base path" , ( ) => {
@@ -214,6 +214,8 @@ describe("routeIdFromPath", () => {
214214 expect ( routeIdFromPath ( "/overview" ) ) . toBe ( "overview" ) ;
215215 expect ( routeIdFromPath ( "/activity" ) ) . toBe ( "activity" ) ;
216216 expect ( routeIdFromPath ( "/sessions" ) ) . toBe ( "sessions" ) ;
217+ expect ( routeIdFromPath ( "/debug" ) ) . toBe ( "debug" ) ;
218+ expect ( routeIdFromPath ( "/logs" ) ) . toBe ( "logs" ) ;
217219 expect ( routeIdFromPath ( "/dreaming" ) ) . toBe ( "dreams" ) ;
218220 expect ( routeIdFromPath ( "/dreams" ) ) . toBe ( "dreams" ) ;
219221 } ) ;
0 commit comments