mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-01 18:35:19 +00:00
(test): add local Obsidian E2E suite
This commit is contained in:
@@ -25,6 +25,8 @@ async function main(): Promise<void> {
|
||||
...process.env,
|
||||
HOME: vault.homePath,
|
||||
XDG_CONFIG_HOME: vault.xdgConfigPath,
|
||||
XDG_CACHE_HOME: vault.xdgCachePath,
|
||||
XDG_DATA_HOME: vault.xdgDataPath,
|
||||
};
|
||||
await runObsidianCli(cli.binary, [`obsidian://open?path=${encodeURIComponent(vault.path)}`], cliEnv);
|
||||
await new Promise((resolve) => setTimeout(resolve, 3000));
|
||||
|
||||
Reference in New Issue
Block a user