fix: preserve startup UI behaviour

This commit is contained in:
vorotamoroz
2026-09-04 01:55:29 +00:00
parent 338aecd888
commit 22a835519b
4 changed files with 41 additions and 15 deletions
@@ -42,6 +42,7 @@ describe("useObsidianReplicationRibbonFeature", () => {
await expect(initialise?.()).resolves.toBe(true);
expect(addIcon).toHaveBeenCalledWith("replicate", expect.any(String));
expect(addIcon).toHaveBeenCalledWith("replicate", expect.stringContaining("c-7.66 1.98-12.2 9.61-10 17"));
expect(addRibbonIcon).toHaveBeenCalledWith(
"replicate",
$msg("moduleObsidianMenu.replicate"),