@allwright.dev/vitest 0.1.4 → 0.1.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.
- package/dist/index.js +3 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -257,6 +257,9 @@ function createLazyBrowser(browserResource) {
|
|
|
257
257
|
async newTab(options) {
|
|
258
258
|
return (await browserResource.get()).newTab(options);
|
|
259
259
|
},
|
|
260
|
+
async registerHook(type) {
|
|
261
|
+
return (await browserResource.get()).registerHook(type);
|
|
262
|
+
},
|
|
260
263
|
async close() {
|
|
261
264
|
await (await browserResource.get()).close();
|
|
262
265
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allwright.dev/vitest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"typescript": "^5.9.2",
|