Skip to content

createEvent is not being exported #373

Description

@alexreardon
  • react-testing-library version: 7.0.0
  • react version: 16.8.6

Relevant code or config:

import { createEvent } from "react-testing-library";
it("should have the createEvent export", () => {
  // this fails as createEvent is undefined
  expect(createEvent).toBeTruthy();
});

https://codesandbox.io/s/reacttestinglibrary-createevent-gr9ms (click on the tests tab)

Problem description:

createEvent is not being exported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions