Skip to content

JSDom 11.12 causes tests to fail #4869

Closed
@iansu

Description

@iansu

It looks like the latest version of JSDom is incompatible with one of the default settings in Jest.

Here's the Jest issue: jestjs/jest#6766

This appears to have been fixed but not yet released: jestjs/jest#6792

Even when the fix is released we will still be running an older version of Jest that may not be updated. I think our options for fixing this are:

  1. Update to a newer version of Jest (I think there is at least one PR in the works to do this)
  2. Add testURL: 'http://localhost' to our Jest config

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions