playwright-msw
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,13 @@ # Changelog | ||
## [0.2.2](https://github.com/valendres/playwright-msw/compare/playwright-msw@0.2.1...playwright-msw@0.2.2) "playwright-msw" (2022-04-25)<a name="0.2.2"></a> | ||
### Bug Fixes | ||
* updates server path to catch all (#9) ([5ebc7d8](https://github.com/valendres/playwright-msw/commits/5ebc7d8)) | ||
## [0.2.1](https://github.com/valendres/playwright-msw/compare/playwright-msw@0.2.0...playwright-msw@0.2.1) "playwright-msw" (2022-04-03)<a name="0.2.1"></a> | ||
## [0.2.0](https://github.com/valendres/playwright-msw/compare/playwright-msw@0.1.0...playwright-msw@0.2.0) "playwright-msw" (2022-04-02)<a name="0.2.0"></a> | ||
@@ -7,0 +18,0 @@ |
@@ -56,3 +56,3 @@ "use strict"; | ||
let cachedHandlers = originalHandlers; | ||
yield page.route("/**", (route) => { | ||
yield page.route("**/*", (route) => { | ||
try { | ||
@@ -59,0 +59,0 @@ void handleRoute(route, cachedHandlers); |
{ | ||
"name": "playwright-msw", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A Mock Service Worker API for Playwright.", | ||
@@ -34,6 +34,6 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@playwright/test": "^1.20.2", | ||
"@playwright/test": "^1.21.1", | ||
"@types/body-parser": "^1.19.2", | ||
"@types/express": "^4.17.13", | ||
"@types/node": "^17.0.23", | ||
"@types/node": "^17.0.27", | ||
"@types/node-fetch": "^2.6.1", | ||
@@ -40,0 +40,0 @@ "@types/rimraf": "^3.0.2", |
@@ -91,3 +91,3 @@ <h1 align="center">Playwright MSW</h1> | ||
export { text, expect }; | ||
export { test, expect }; | ||
``` | ||
@@ -94,0 +94,0 @@ |
15839