Skip to content

Commit ca9921d

Browse files
committed
Remove static markup from test for brevity
1 parent 6f0012b commit ca9921d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/react-router/__tests__/useLocation-test.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ describe("useLocation", () => {
4040
function App() {
4141
return (
4242
<div>
43-
<h1>App</h1>
4443
<Routes>
4544
<Route path="/home" element={<ShowLocation />} />
4645
</Routes>
@@ -53,9 +52,6 @@ describe("useLocation", () => {
5352

5453
expect(renderer.toJSON()).toMatchInlineSnapshot(`
5554
<div>
56-
<h1>
57-
App
58-
</h1>
5955
<pre>
6056
{"pathname":"/home","search":"?the=search","hash":"#the-hash","state":null,"key":"default"}
6157
</pre>

0 commit comments

Comments
 (0)