DevExpress / testcafe-hammerhead

A powerful web-proxy used as a core for the TestCafe testing framework. :hammer: :smiley:
https://testcafe.io
MIT License
171 stars 160 forks source link

fix `test-server` test: incorrect `socket hang up` processing error in Node v21 #2978

Closed PavelMor25 closed 11 months ago

PavelMor25 commented 11 months ago

In Node.js version 21.2.0, hideStackFrames has been improved: commit - errors: improve hideStackFrames and Pull request - errors: improve hideStackFrames. As a result, the error stack that appears when the socket hangs has changed.

Update method _isSocketHangUpErr and method _isSocketHangUpErrHasNeededStack of class DesinationRequest.