@allwright.dev/vitest 0.1.7 → 0.1.9

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/dist/index.js +3 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -290,6 +290,9 @@ function createLazyAndroidApp(appResource) {
290
290
  locator(selector) {
291
291
  return createLazyAndroidLocator(appResource, async () => selector);
292
292
  },
293
+ async registerHook(type) {
294
+ return (await appResource.get()).registerHook(type);
295
+ },
293
296
  async click(selector, options) {
294
297
  return (await appResource.get()).click(selector, options);
295
298
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allwright.dev/vitest",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "description": "Vitest fixtures for the allwright TypeScript client.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -47,7 +47,7 @@
47
47
  "prepublishOnly": "bun run build"
48
48
  },
49
49
  "dependencies": {
50
- "@allwright.dev/core": "0.1.7"
50
+ "@allwright.dev/core": "0.1.9"
51
51
  },
52
52
  "devDependencies": {
53
53
  "typescript": "^5.9.2",