mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-08-29 14:57:05 +00:00
Refine P2P and manual setup workflows
This commit is contained in:
@@ -469,6 +469,9 @@ describe("Red Flag Feature", () => {
|
||||
expect(result).toBe(true);
|
||||
expect(host.mocks.rebuilder.$fetchLocalDBFast).toHaveBeenCalled();
|
||||
expect(synchroniseAllFilesBetweenDBandStorage).toHaveBeenCalled();
|
||||
const firstPrompt = host.mocks.ui.confirm.confirmWithMessage.mock.calls[0]?.[1];
|
||||
expect(firstPrompt).toContain("data retrieved from this remote source");
|
||||
expect(firstPrompt).not.toContain("remote server");
|
||||
// We can't easily check performFullScan call here because it's imported,
|
||||
// but we can verify rebuilder was called.
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user