This commit is contained in:
parent
949ee31a40
commit
d0cd37f04d
@ -45,7 +45,7 @@ const obsidianTestFixtures: Fixtures<ObsidianTestFixtures> = {
|
|||||||
!!vault && `obsidian://open?vault=${encodeURI(vault)}`,
|
!!vault && `obsidian://open?vault=${encodeURI(vault)}`,
|
||||||
].filter((a) => !!a) as string[],
|
].filter((a) => !!a) as string[],
|
||||||
});
|
});
|
||||||
electronApp.waitForEvent("window");
|
await electronApp.waitForEvent("window");
|
||||||
electronApp.on("console", async (msg) => {
|
electronApp.on("console", async (msg) => {
|
||||||
console.log(
|
console.log(
|
||||||
...(await Promise.all(msg.args().map((a) => a.jsonValue())))
|
...(await Promise.all(msg.args().map((a) => a.jsonValue())))
|
||||||
|
Loading…
Reference in New Issue
Block a user