We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173578d commit 330c65fCopy full SHA for 330c65f
packages/react-router-dom/__tests__/scroll-restoration-test.tsx
@@ -11,7 +11,7 @@ import {
11
} from "react-router-dom";
12
13
describe(`ScrollRestoration`, () => {
14
- it("renders the first route that matches the URL", () => {
+ it("removes the basename from the location provided to getKey", () => {
15
let getKey = jest.fn(() => "mykey");
16
let testWindow = getWindowImpl("/base");
17
window.scrollTo = () => {};
0 commit comments