test: cover share authentication and copy behavior
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
export type ShareContentLookup = (id: string) => { textContent: string | null } | null;
|
||||
|
||||
export function getShareContentForClipboard(lookup: ShareContentLookup) {
|
||||
return lookup("share-content")?.textContent ?? null;
|
||||
}
|
||||
Reference in New Issue
Block a user