server: do use Promise cancellation, fixes failing tests

This commit is contained in:
Brian Mann
2017-08-29 15:35:33 -04:00
parent 0e8de52700
commit 2ac83b4a40
+3
View File
@@ -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"
})