mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-13 02:40:22 -05:00
server: do use Promise cancellation, fixes failing tests
This commit is contained in:
@@ -32,6 +32,9 @@ try
|
||||
env = process.env["CYPRESS_ENV"] or= pkg.env ? "development"
|
||||
|
||||
Promise.config({
|
||||
## uses cancellation for automation timeouts
|
||||
cancellation: true
|
||||
|
||||
## enable long stack traces in dev
|
||||
longStackTraces: env is "development"
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user