@probe.gl/test-utils
Advanced tools
Comparing version 3.5.2 to 3.5.3
@@ -61,5 +61,11 @@ // probe.gl, MIT license | ||
})(); | ||
// resolve URL | ||
const pageUrl = config.url | ||
? config.url.startsWith('http') | ||
? config.url | ||
: `${url}/${config.url.replace(/^\//, '')}` | ||
: url; | ||
// eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
this.openPage({ | ||
url: config.url || url, | ||
url: pageUrl, | ||
exposeFunctions, | ||
@@ -66,0 +72,0 @@ onConsole: event => this._onConsole(event), |
@@ -137,4 +137,6 @@ "use strict"; | ||
var pageUrl = config.url ? config.url.startsWith('http') ? config.url : "".concat(url, "/").concat(config.url.replace(/^\//, '')) : url; | ||
_this3.openPage({ | ||
url: config.url || url, | ||
url: pageUrl, | ||
exposeFunctions: exposeFunctions, | ||
@@ -141,0 +143,0 @@ onConsole: function onConsole(event) { |
@@ -71,4 +71,5 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
})(); | ||
const pageUrl = config.url ? config.url.startsWith('http') ? config.url : "".concat(url, "/").concat(config.url.replace(/^\//, '')) : url; | ||
this.openPage({ | ||
url: config.url || url, | ||
url: pageUrl, | ||
exposeFunctions, | ||
@@ -75,0 +76,0 @@ onConsole: event => this._onConsole(event), |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "3.5.2", | ||
"version": "3.5.3", | ||
"keywords": [ | ||
@@ -30,7 +30,7 @@ "integration test", | ||
"@babel/runtime": "^7.0.0", | ||
"@probe.gl/log": "3.5.2", | ||
"@probe.gl/log": "3.5.3", | ||
"pixelmatch": "^4.0.2", | ||
"puppeteer": "*" | ||
}, | ||
"gitHead": "f219c2b6a3609b4b34eb82d14766de771882b94c" | ||
"gitHead": "d5ca115bd55f7b829aaebf00f37bc8459015bf93" | ||
} |
@@ -94,5 +94,12 @@ // probe.gl, MIT license | ||
// resolve URL | ||
const pageUrl: string = config.url | ||
? config.url.startsWith('http') | ||
? config.url | ||
: `${url}/${config.url.replace(/^\//, '')}` | ||
: url; | ||
// eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
this.openPage({ | ||
url: config.url || url, | ||
url: pageUrl, | ||
exposeFunctions, | ||
@@ -99,0 +106,0 @@ onConsole: event => this._onConsole(event), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205829
3203
+ Added@probe.gl/env@3.5.3(transitive)
+ Added@probe.gl/log@3.5.3(transitive)
- Removed@probe.gl/env@3.5.2(transitive)
- Removed@probe.gl/log@3.5.2(transitive)
Updated@probe.gl/log@3.5.3