Skip to content

Jest tests are not being executed #121

@daniel-albuquerque

Description

@daniel-albuquerque

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Explanation

  • What is the expected behavior?
    Executing npm test should run successfully the tests

  • What is happening instead?
    Jest execution fails

  • What error message are you getting?

  1. jsdom (>= 16) doesn't include polyfills for Node functionalities used by undici
    ReferenceError: TextEncoder is not defined
    > 1 | import {configure} from 'enzyme';
  1. Enzyme 3.11.0 upgraded to cheerio 1.0.0 which required Node >= 18.17.0. Need to support earlier LTS versions
    Cannot find module 'cheerio/lib/utils' from 'node_modules/enzyme/build/Utils.js'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions