Skip to content

v11.11.0 seems to break entire jest/enzyme test suite #26534

@Wynston

Description

@Wynston

I discovered this issue in our pipeline since we are using the latest node Docker image for our Gitlab pipeline. Our tests all failed in the pipeline but were passing locally when I was on v10.15.3. I tried updating my node version to 11.11.0 and tried running the tests but they all failed.

This error was displayed for each test in our jest suite:

 Test suite failed to run

    TypeError: Cannot assign to read only property 'Symbol(Symbol.toStringTag)' of object '#<process>'

      at exports.default (node_modules/jest-util/build/create_process_object.js:15:34)
  • Version: 11.11.0
  • Platform: x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem: Ubuntu

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