@web/test-runner-chrome
Advanced tools
Comparing version 0.5.13 to 0.5.14
# @web/test-runner-chrome | ||
## 0.5.14 | ||
### Patch Changes | ||
- 7c25ba4: guard against the logs script being unavailable | ||
## 0.5.13 | ||
@@ -4,0 +10,0 @@ |
@@ -19,3 +19,7 @@ "use strict"; | ||
// serialize the log message in the browser to a string | ||
.evaluateHandle(e => window.__wtr_browser_logs__.serialize(e)) | ||
// __wtr_browser_logs__ is injected by a script, but in some cases we're setting it isn't available | ||
// for example for browser native warnings | ||
.evaluateHandle(e => window.__wtr_browser_logs__ | ||
? window.__wtr_browser_logs__.serialize(e) | ||
: JSON.stringify(e)) | ||
// pass along the message from the browser to NodeJS as a string | ||
@@ -22,0 +26,0 @@ .then(handle => handle.jsonValue()) |
{ | ||
"name": "@web/test-runner-chrome", | ||
"version": "0.5.13", | ||
"version": "0.5.14", | ||
"publishConfig": { | ||
@@ -5,0 +5,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
31726
310