Skip to content

Commit

Permalink
🧪 removes failing content from App.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sjproctor committed May 8, 2024
1 parent 11262e7 commit 01f7cfd
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { render, screen } from '@testing-library/react';
import App from './App';
import React from "react"
import { render } from "@testing-library/react"
import { BrowserRouter } from "react-router-dom"
import App from "./App"

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

0 comments on commit 01f7cfd

Please sign in to comment.