mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 13:07:39 +00:00
chore: Fix types in tests 34/N.
This commit is contained in:
@@ -40,7 +40,8 @@ describe("createLocalShellRunner", () => {
|
||||
|
||||
const firstRun = runLocalShellLine("!ls");
|
||||
expect(openOverlay).toHaveBeenCalledTimes(1);
|
||||
lastSelector?.onSelect?.({ value: "no", label: "No" });
|
||||
const selector = lastSelector as ReturnType<typeof createSelector> | null;
|
||||
selector?.onSelect?.({ value: "no", label: "No" });
|
||||
await firstRun;
|
||||
|
||||
await runLocalShellLine("!pwd");
|
||||
|
||||
Reference in New Issue
Block a user