Skip to content

node v21.6 breaks unit tests #2615

@Uzlopak

Description

@Uzlopak

While working on eventsource, the unit tests broke in the ci

test at test/fetch/response.js:202:11
✖ Readable with ArrayBuffer chunk still throws (2.742972ms)
  'Promise resolution is still pending but the event loop has already resolved'

test at test/fetch/response.js:168:1
✖ constructing a Response with a ReadableStream body (12.147774ms)
  'Promise resolution is still pending but the event loop has already resolved'

test at test/fetch/response.js:222:1
✖ constructing Response with third party Blob body
  'Promise resolution is still pending but the event loop has already resolved'

test at test/fetch/response.js:227:1
✖ constructing Response with third party FormData body
  'Promise resolution is still pending but the event loop has already resolved'

test at test/fetch/response.js:237:1
✖ Issue#2465
  'Promise resolution is still pending but the event loop has already resolved'

test at test/fetch/response.js:243:1
✖ Check the Content-Type of invalid formData
  'Promise resolution is still pending but the event loop has already resolved'

Metadata

Metadata

Assignees

No one assigned

    Labels

    TestsChanges related to the unit testsbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions