Skip to content

Commit

Permalink
fix(testing): verify output info exists (#14598)
Browse files Browse the repository at this point in the history
(cherry picked from commit 94dffd1)
  • Loading branch information
mandarini authored and FrozenPandaz committed Jan 27, 2023
1 parent 3aba499 commit d3897fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cypress/src/executors/cypress/cypress.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ async function* startDevServer(
if (
!opts.baseUrl &&
!output.baseUrl &&
!output.info.baseUrl &&
output.info.port
!output.info?.baseUrl &&
output.info?.port
) {
output.baseUrl = `http://localhost:${output.info.port}`;
}
yield opts.baseUrl || output.baseUrl || output.info.baseUrl;
yield opts.baseUrl || output.baseUrl || output.info?.baseUrl;
}
}

Expand Down

0 comments on commit d3897fe

Please sign in to comment.