mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-20 11:36:04 +00:00
test: verify the packaged Commonlib boundary
This commit is contained in:
@@ -980,6 +980,10 @@ export function parseYaml(s: string) {
|
||||
export function getLanguage() {
|
||||
return "en";
|
||||
}
|
||||
/** The mock does not implement APIs gated by an Obsidian application version. */
|
||||
export function requireApiVersion(_version: string): boolean {
|
||||
return false;
|
||||
}
|
||||
export function setIcon(el: HTMLElement, icon: string) {}
|
||||
export function arrayBufferToBase64(buffer: ArrayBuffer): string {
|
||||
return btoa(String.fromCharCode(...new Uint8Array(buffer)));
|
||||
|
||||
Reference in New Issue
Block a user