Skip to content

reactify transform doesn't seem to work #54

@davidtheclark

Description

@davidtheclark

I have a test that imports a React component that uses JSX syntax. I know that straight up JS will throw an error when it sees <div>, so I've tried using the reactify transform by running the test with node my-test -t reactify, following the instructions.

However, that <div> is still breaking things, despite the effort at using the transform: SyntaxError: Unexpected token <

Should this be working? Or is there some specific problem with JSX so that just flagging the transform is not enough?

Thanks.

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