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:
@@ -85,7 +85,7 @@ try {
|
||||
{
|
||||
console.log("Test 3: run handles daemon not running");
|
||||
const result =
|
||||
await $`PASEO_HOST=localhost:${port} PASEO_HOME=${paseoHome} npx paseo run "test prompt"`.nothrow();
|
||||
await $`PASEO_HOST=localhost:${port} PASEO_HOME=${paseoHome} npx paseo run --provider claude "test prompt"`.nothrow();
|
||||
// Should fail because daemon not running
|
||||
assert.notStrictEqual(result.exitCode, 0, "should fail when daemon not running");
|
||||
const output = result.stdout + result.stderr;
|
||||
|
||||
Reference in New Issue
Block a user