diff --git a/test/run-mode-ui.test.ts b/test/run-mode-ui.test.ts index 1e833794..27295a2e 100644 --- a/test/run-mode-ui.test.ts +++ b/test/run-mode-ui.test.ts @@ -1107,6 +1107,7 @@ describe('case selector refresh', () => { { name: 'kept-case', path: '/tmp/kept-case' }, ]; app.showToast = vi.fn(); + app.loadAppSettingsFromStorage = () => ({}); // saveLastUsedCase asks whether case sync is on // deleteCase re-renders the case-manage list, whose path label goes through // _shortenHomePath. That method lives in terminal-ui.js, which this harness