vitest-plugin-vis 2.4.2 → 2.4.3

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.
@@ -4,8 +4,8 @@ export function playwright(context) {
4
4
  // The `Locator` type from `vitest` has less props than the `Locator` in `playwright`
5
5
  const subject = context.iframe.locator(selector);
6
6
  return subject.screenshot({
7
- timeout: options?.timeout,
8
7
  path: filePath,
8
+ ...options,
9
9
  });
10
10
  },
11
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitest-plugin-vis",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "Vitest visual testing plugin",
5
5
  "keywords": [
6
6
  "image-snapshot",
@@ -7,8 +7,8 @@ export function playwright(context: BrowserCommandContext): BrowserApi {
7
7
  // The `Locator` type from `vitest` has less props than the `Locator` in `playwright`
8
8
  const subject = context.iframe.locator(selector)
9
9
  return subject.screenshot({
10
- timeout: options?.timeout,
11
10
  path: filePath,
11
+ ...options,
12
12
  })
13
13
  },
14
14
  }