Skip to content

Commit

Permalink
imports sorting in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrees committed Jan 21, 2020
1 parent 614b84a commit c28c7c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import { render } from '@testing-library/react';
import App from './App';
import { render } from "@testing-library/react";
import React from "react";

test('renders learn react link', () => {
import App from "./App";

test("renders learn react link", () => {
const { getByText } = render(<App />);
const linkElement = getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
Expand Down

0 comments on commit c28c7c7

Please sign in to comment.