chore: Fix types in tests 34/N.

This commit is contained in:
cpojer
2026-02-17 15:45:59 +09:00
parent 49bd9f75f4
commit ed75d30ad3
7 changed files with 14 additions and 10 deletions

View File

@@ -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");