obsidian-testing-framework 0.3.4 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -105,9 +105,9 @@ export const test = base.extend({
105
105
  const windows = electronApp.windows();
106
106
  // console.log("windows", windows);
107
107
  let page = windows[windows.length - 1];
108
- await page.evaluate(() => {
108
+ await page.evaluate((vaultId) => {
109
109
  window.localStorage.setItem(`enable-plugin-${vaultId}`, "true");
110
- });
110
+ }, vaultId);
111
111
  await page.waitForLoadState("domcontentloaded");
112
112
  try {
113
113
  await waitForIndexingComplete(page);
package/package.json CHANGED
@@ -27,7 +27,7 @@
27
27
  ".": "./lib/index.js"
28
28
  },
29
29
  "readme": "",
30
- "version": "0.3.4",
30
+ "version": "0.3.5",
31
31
  "main": "./lib/index.js",
32
32
  "typings": "./lib/index.d.ts",
33
33
  "repository": {