Skip to content

Commit 59a7399

Browse files
committed
fix(testWithSpectron): url not matching
1 parent c5006a4 commit 59a7399

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/testWithSpectron.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ module.exports = (options = {}) =>
2626
if (outputDirMatch) {
2727
// Record output dir
2828
outputDir = outputDirMatch[0].split('=')[1]
29-
} else if (urlMatch) {
29+
}
30+
if (urlMatch) {
3031
// Record url and launch spectron
3132
const url = urlMatch[0].split('=')[1]
3233
let app

0 commit comments

Comments
 (0)