Skip to content

Failing Jest tests #4

@JPStrydom

Description

@JPStrydom

Whenever I have this package imported in a file, Jest gives me the following error message for that file:

SyntaxError: Unexpected identifier

import React, { Component } from "react";
       ^^^^^

I tried adding it as a transform ignore pattern, but it didn't work.

Any idea how to fix t?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions