Skip to content

Commit 4d95b9e

Browse files
VCourdynklayman
authored andcommitted
testWithSpectron match also https URL (#327)
fix(testWithSpectron): match https URL from dev server
1 parent 83d2648 commit 4d95b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/testWithSpectron.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ module.exports = (options = {}) =>
2828
child.stdout.on('data', async data => {
2929
data = data.toString()
3030
log += data
31-
const urlMatch = data.match(/\$WEBPACK_DEV_SERVER_URL=http:\/\/[^/]+\//)
31+
const urlMatch = data.match(/\$WEBPACK_DEV_SERVER_URL=https?:\/\/[^/]+\//)
3232
const outputDirMatch = data.match(/\$outputDir=\b.*\b/)
3333
if (outputDirMatch) {
3434
// Record output dir

0 commit comments

Comments
 (0)