mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-27 03:23:20 +00:00
Refine P2P and manual setup workflows
This commit is contained in:
1 parent
cd35858e01
commit
1df034f12a
60 files changed
+1884
-770
No files matched your search
@@ -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