Skip to content

Commit bfe4c7f

Browse files
authored
test(app): migrate entity-navigation test off removed buzz://open locator API (#463)
Signed-off-by: Kalvin Chau <[email protected]>
1 parent 42de532 commit bfe4c7f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎src/app/entity-navigation.test.tsx‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ import { finalizeEvent, getPublicKey } from "nostr-tools";
1616
import { App } from "./App";
1717
import { createServices, type AppServices } from "./services";
1818
import {
19-
bindSharedTarget,
20-
parseTargetLink,
21-
targetLink,
19+
parseOpenTarget,
2220
type OpenTarget,
2321
} from "../features/navigation/targets";
2422
import { bindDeepLinks } from "../features/navigation/deep-links";
@@ -413,7 +411,7 @@ it.each(["Inbox", "Bestie"])(
413411
route: { version: 1, params: name },
414412
...(scope !== undefined ? { scope } : {}),
415413
};
416-
const bound = bindSharedTarget(parseTargetLink(targetLink(old)), viewer);
414+
const bound = parseOpenTarget(old);
417415
let visit = "";
418416
let result!: ReturnType<typeof current.navigation.open>;
419417
act(() => {

0 commit comments

Comments
 (0)