mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-14 10:39:32 +01:00
test(ui): stub the sync switch where a case delete saves lastUsedCase
This commit is contained in:
1 parent
ea27adf104
commit
4808ee7085
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user