@allwright.dev/vitest 0.1.4 → 0.1.6
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.
- package/dist/index.js +3 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -178,6 +178,9 @@ function createLazyPage(pageResource) {
|
|
|
178
178
|
async screenshot(options) {
|
|
179
179
|
return (await pageResource.get()).screenshot(options);
|
|
180
180
|
},
|
|
181
|
+
async registerHook(type) {
|
|
182
|
+
return (await pageResource.get()).registerHook(type);
|
|
183
|
+
},
|
|
181
184
|
async close() {
|
|
182
185
|
await (await pageResource.get()).close();
|
|
183
186
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allwright.dev/vitest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
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.
|
|
50
|
+
"@allwright.dev/core": "0.1.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"typescript": "^5.9.2",
|