Skip to content

virtualConsole.sendTo is not a function error with JSDOM 27 #33

@Stanzilla

Description

@Stanzilla

Hey there, just updated to JSDOM 27-beta.2 and Jest 30 because I needed a fix from there and noticed the following with jest-fixed-jsdom.

FAIL  hooks/useCrossPlatformEventBridge.test.ts
  ● Test suite failed to run
    TypeError: virtualConsole.sendTo is not a function
      at new BaseJSDOMEnvironment (../../node_modules/@jest/environment-jsdom-abstract/build/index.js:74:20)
      at new FixedJSDOMEnvironment (../../node_modules/jest-fixed-jsdom/index.js:5:5)

I realize it is a beta I am testing but wanted to report regardless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions