Skip to content

no-deprecated - React.addons.TestUtils doesn't create a warning #1644

Closed
@nirnaor

Description

@nirnaor

When using React.addons.TestUtils a warning should be thrown, since the addons entry point is deprecated as of 15.5.0 (as per the official documentation)

The error that should be thrown is:
React.addons.TestUtils is deprecated since React 15.5.0, use ReactDOM.TestUtils instead.

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