-
Notifications
You must be signed in to change notification settings - Fork 673
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(server-tests): errored tests after Node 15.3.0 update #5744
fix(server-tests): errored tests after Node 15.3.0 update #5744
Conversation
❌ Tests for the commit 539bf94 have failed. See details: |
✅ Tests for the commit 539bf94 have passed. See details: |
2 similar comments
✅ Tests for the commit 539bf94 have passed. See details: |
✅ Tests for the commit 539bf94 have passed. See details: |
Gulpfile.js
Outdated
@@ -376,12 +376,42 @@ gulp.task('build', DEV_MODE ? gulp.registry().get('fast-build') : gulp.parallel( | |||
// Test | |||
gulp.step('prepare-tests', gulp.registry().get(SKIP_BUILD ? 'lint' : 'build')); | |||
|
|||
function exitDomains () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the exitDomains
and enterDomains
functions to the gulp/helpers/domain.js
file.
Also add the !gulp
statement to the .gitignore
file - https://github.com/DevExpress/testcafe/pull/5724/files#diff-2f754321d62f08ba8392b9b168b83e24ea2852bb5d815d63e767f6c3d23c6ac5R3
✅ Tests for the commit 97a3d5d have passed. See details: |
I assume that Gulp's domain error handlers started to catch the unhandled promise rejections (placed in the tests for a reason) and interrupt test execution after "Unhandled rejections become errors on the domain" functionality shipped in Node 15.3.0. So, we need to bypass Gulp's error domains (using @AndreyBelym's hack).