Skip to content

Mocking React-moment in Jest #120

@pmirandaarias

Description

@pmirandaarias

[question]

Has anyone mocked React-moment in Jest? When I normally make a mock from momentjs I have no problem, but trying to make a mock from React-moment in Jest has been different, I got this error message:

 `TypeError: _reactMoment.default.mockImplementation is not a function`

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