test(app,cli): align mocks and CLI args with intentional API changes
- Add FolderPlus to lucide-react-native mock in left-sidebar.test (sidebar started using FolderPlus in291a1246, mock was stale). - Pass --provider in cli run daemon-not-running test so it reaches the daemon-connect step instead of erroring out at MISSING_PROVIDER validation introduced in64b9b612.
This commit is contained in:
@@ -86,6 +86,7 @@ vi.mock("lucide-react-native", () => {
|
||||
const createIcon = (name: string) => (props: Record<string, unknown>) =>
|
||||
React.createElement("span", { ...props, "data-icon": name });
|
||||
return {
|
||||
FolderPlus: createIcon("FolderPlus"),
|
||||
MessagesSquare: createIcon("MessagesSquare"),
|
||||
Plus: createIcon("Plus"),
|
||||
Settings: createIcon("Settings"),
|
||||
|
||||
Reference in New Issue
Block a user