aboutsummaryrefslogtreecommitdiffstats
path: root/test/runner/browserstack/workers.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-02-08 23:52:19 +0100
committerGitHub <noreply@github.com>2024-02-08 23:52:19 +0100
commitd478a1c0226b7825a99718bf605ef9727ee4beca (patch)
tree342ef57ec1cd649b7d7d9a8e0d88f98a01d20585 /test/runner/browserstack/workers.js
parentb507c8648f701acd1c48b3c38054ad38d76fd1ca (diff)
downloadjquery-d478a1c0226b7825a99718bf605ef9727ee4beca.tar.gz
jquery-d478a1c0226b7825a99718bf605ef9727ee4beca.zip
Tests: Fix Karma tests on Node.js 20
Node.js 20 started throwing errors when `writeHead` is called twice on a response. This might have already been invalid before but it wasn't throwing on Node.js 18. Compute the headers object and call `writeHead` once to avoid the issue. Closes gh-5397
Diffstat (limited to 'test/runner/browserstack/workers.js')
0 files changed, 0 insertions, 0 deletions