fix: handle async before:spec event handler (#26055)

Co-authored-by: Ryan Manuel <ryanm@cypress.io>
This commit is contained in:
Emily Rohrbough
2023-03-13 08:53:59 -05:00
committed by GitHub
parent 9c98b5e085
commit 1c5a67fa92
23 changed files with 210 additions and 65 deletions

View File

@@ -11,6 +11,7 @@ _Released 03/14/2023 (PENDING)_
**Bugfixes:**
- Fixed an issue where using `Cypress.require()` would throw the error `Cannot find module 'typescript'`. Fixes [#25885](https://github.com/cypress-io/cypress/issues/25885).
- The [`before:spec`](https://docs.cypress.io/api/plugins/before-spec-api) API was updated to correctly support async event handlers in `run` mode. Fixes [#24403](https://github.com/cypress-io/cypress/issues/24403).
**Misc:**