- Delete items which are no longer used that might cause potential problems

- Fix Some Imports
- Fix floating promises on tests
This commit is contained in:
vorotamoroz committed 2026-03-18 11:54:22 +01:00
1 parent ee69085830
commit 3a29818612
4 files changed
+13 -13

No files matched your search

@@ -37,8 +37,8 @@ describe("setupObsidian/setupProtocol", () => {
} as any;
const log = vi.fn();
const setupManager = {
onUseSetupURI: vi.fn(async () => true),
decodeQR: vi.fn(async () => true),
onUseSetupURI: vi.fn(async () => await Promise.resolve(true)),
decodeQR: vi.fn(async () => await Promise.resolve(true)),
} as any;
registerSetupProtocolHandler(host, log, setupManager);
@@ -67,8 +67,8 @@ describe("setupObsidian/setupProtocol", () => {
} as any;
const log = vi.fn();
const setupManager = {
onUseSetupURI: vi.fn(async () => true),
decodeQR: vi.fn(async () => true),
onUseSetupURI: vi.fn(async () => await Promise.resolve(true)),
decodeQR: vi.fn(async () => await Promise.resolve(true)),
} as any;
registerSetupProtocolHandler(host, log, setupManager);