Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent vite from crashing where there are no support files or s… #17641

Merged
merged 2 commits into from
Aug 10, 2021

Conversation

elevatebart
Copy link
Contributor

duplicate of (#17624) for delivery to master

…pecs found (#17624)

* fix: no supportfile + no specs, vite don't crash

When there is no values, in the optimization array,
supportFile can be a boolean. the final optimized entry passed to
fast-glog is then `[false]` whic crashes cypress.

This protects against the no-spec issue

closes #17373

* fix: protect startServer from undefined specs
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 6, 2021

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Aug 9, 2021



Test summary

8280 0 100 4Flakiness 2


Run details

Project cypress
Status Passed
Commit cdb2a52
Started Aug 10, 2021 2:22 AM
Ended Aug 10, 2021 2:33 AM
Duration 10:29 💡
OS Linux Debian - 10.8
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/proxy-logging-spec.ts Flakiness
1 Proxy Logging > request logging > fetch log shows resource type, url, method, and status code and has expected snapshots and consoleProps
e2e/redirects_spec.js Flakiness
1 redirection > meta > binds to the new page after a timeout

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@elevatebart elevatebart merged commit 1d2b053 into master Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants