You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fails for Node.js 20.8.020.12.1
running on Ubuntu 22.04.322.04.4 LTS.
The test succeeds with Node.js 18.18.118.20.1LTS.
Other tests called by yarn test succeed on Node.js 18.x and 20.x
Logs
$ node ./tests/test-form-data.js
TAP version 13
# multipart formData
ok 1 should be truthy
ok 2 should be truthy
ok 3 should be truthy
ok 4 should be truthy
ok 5 should be truthy
ok 6 should be truthy
ok 7 should be truthy
ok 8 should be truthy
ok 9 should be truthy
ok 10 should be truthy
ok 11 should be truthy
ok 12 should be truthy
ok 13 should be truthy
ok 14 should be truthy
ok 15 should be truthy
ok 16 should be truthy
ok 17 should be truthy
ok 18 should be truthy
ok 19 should be equal
ok 20 should be equal
ok 21 should be equivalent
# multipart formData + JSON
ok 22 should be truthy
ok 23 should be truthy
ok 24 should be truthy
ok 25 should be truthy
ok 26 should be truthy
ok 27 should be truthy
ok 28 should be truthy
ok 29 should be truthy
ok 30 should be truthy
ok 31 should be truthy
ok 32 should be truthy
ok 33 should be truthy
ok 34 should be truthy
ok 35 should be truthy
ok 36 should be truthy
ok 37 should be truthy
ok 38 should be truthy
ok 39 should be truthy
ok 40 should be equal
ok 41 should be equal
ok 42 should be equivalent
# multipart formData + basic auth
ok 43 should be equal
not ok 44 should be equal
---
operator: equal
expected: 200
actual: 400
at: Request._callback (/home/mike/github/cypress-io/request/tests/test-form-data.js:114:9)
stack: |-
Error: should be equal
at Test.assert [as _assert] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:443:48)
at Test.bound [as _assert] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:89:17)
at Test.equal (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:604:7)
at Test.bound [as equal] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:89:17)
at Request._callback (/home/mike/github/cypress-io/request/tests/test-form-data.js:114:9)
at self.callback (/home/mike/github/cypress-io/request/request.js:183:22)
at Request.emit (node:events:514:28)
at Request.<anonymous> (/home/mike/github/cypress-io/request/request.js:1156:10)
at Request.emit (node:events:514:28)
at IncomingMessage.<anonymous> (/home/mike/github/cypress-io/request/request.js:1070:12)
...
not ok 45 should be equivalent
---
operator: deepEqual
expected: 'done'
actual: ''
at: Request._callback (/home/mike/github/cypress-io/request/tests/test-form-data.js:115:9)
stack: |-
Error: should be equivalent
at Test.assert [as _assert] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:443:48)
at Test.bound [as _assert] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:89:17)
at Test.tapeDeepEqual (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:641:7)
at Test.bound [as deepEqual] (/home/mike/github/cypress-io/request/node_modules/tape/lib/test.js:89:17)
at Request._callback (/home/mike/github/cypress-io/request/tests/test-form-data.js:115:9)
at self.callback (/home/mike/github/cypress-io/request/request.js:183:22)
at Request.emit (node:events:514:28)
at Request.<anonymous> (/home/mike/github/cypress-io/request/request.js:1156:10)
at Request.emit (node:events:514:28)
at IncomingMessage.<anonymous> (/home/mike/github/cypress-io/request/request.js:1070:12)
...
1..45
# tests 45
# pass 43
# fail 2
The text was updated successfully, but these errors were encountered:
MikeMcC399
changed the title
yarn test-form-data.js fails on Node.js 20.x
test-form-data.js fails on Node.js 20.x
Oct 13, 2023
Version:
@cypress/request@3.0.1
npm install yarn@latest -g git clone https://github.com/cypress-io/request cd request yarn install node ./tests/test-form-data.js
fails for Node.js
20.8.0
20.12.1
running on Ubuntu
22.04.3
22.04.4
LTS.The test succeeds with Node.js
18.18.1
18.20.1
LTS.Other tests called by
yarn test
succeed on Node.js18.x
and20.x
Logs
The text was updated successfully, but these errors were encountered: