fix: destructuring pattern error
Some checks failed
Playwright Tests / test (push) Has been cancelled
Some checks failed
Playwright Tests / test (push) Has been cancelled
This commit is contained in:
parent
9da9c68a5e
commit
9c9419ce9d
@ -57,7 +57,7 @@ function generateVaultConfig(vault: string) {
|
|||||||
// @ts-ignore some error about a string type now having `undefined` as part of it's union
|
// @ts-ignore some error about a string type now having `undefined` as part of it's union
|
||||||
export const test = base.extend<ObsidianTestFixtures>({
|
export const test = base.extend<ObsidianTestFixtures>({
|
||||||
electronApp: [
|
electronApp: [
|
||||||
async (_idk, run) => {
|
async ({}, run) => {
|
||||||
const obsidianPath = <string | undefined>inject("obsidianPath") ?? undefined;
|
const obsidianPath = <string | undefined>inject("obsidianPath") ?? undefined;
|
||||||
const experimentalUseSingleton = <boolean | undefined>inject("experimentalUseSingleton") ?? false;
|
const experimentalUseSingleton = <boolean | undefined>inject("experimentalUseSingleton") ?? false;
|
||||||
const vault = <string>inject("vault");
|
const vault = <string>inject("vault");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user