Files
Cursor Agent f6ccddbfd3 Fix getBrowsePrefetchPaths tests to use reachable state combinations
The tests were passing canBrowseUp: true for queries without trailing
path separators, but in the actual CommandPalette.tsx code, canBrowseUp
is computed via canNavigateUp(query) which requires
hasTrailingPathSeparator(query). This made canBrowseUp: true and
non-null exactEntry mutually exclusive conditions that could never occur
together.

Updated tests to reflect realistic scenarios:
- No trailing separator + exact entry match → prefetch child path only
- Trailing separator + no exact entry → prefetch parent path only
- Partial query with no match → no prefetch paths
2026-04-17 05:43:59 +00:00
..
2026-04-17 03:00:57 +00:00
2026-04-17 03:00:57 +00:00