Skip to content

Instantly share code, notes, and snippets.

@dennisja
Created November 18, 2018 15:52
Show Gist options
  • Save dennisja/e896687f8f5e745005e6da2065579cf1 to your computer and use it in GitHub Desktop.
Save dennisja/e896687f8f5e745005e6da2065579cf1 to your computer and use it in GitHub Desktop.
import { render } from 'react-testing-library';
describe("UserList component", () => {
it("should render the list of users", () => {
// try rendering the UserList component
const { getByText } = render(<UsersList />);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment