You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be missing something, but it looks like the only reason we need to set the VUE_DEV_SERVER_URL env var for Cypress is because we don't set the baseUrl. What would you think about replacing:
'--env',`VUE_DEV_SERVER_URL=${url}`,
with:
'--config',`baseUrl=${url}`,
in @vue/cli-plugin-unit-jest/index.js?
Then in Cypress tests, we wouldn't have to write:
cy.visit(Cypress.env('VUE_DEV_SERVER_URL'))
but could instead simplify to:
cy.visit('/')
The text was updated successfully, but these errors were encountered:
I might be missing something, but it looks like the only reason we need to set the
VUE_DEV_SERVER_URL
env var for Cypress is because we don't set thebaseUrl
. What would you think about replacing:with:
in
@vue/cli-plugin-unit-jest/index.js
?Then in Cypress tests, we wouldn't have to write:
but could instead simplify to:
The text was updated successfully, but these errors were encountered: