Skip to content

Commit 5259e10

Browse files
committed
test: remove unneeded hash reset before replaceState
1 parent 69ba336 commit 5259e10

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

packages/wouter/test/use-location.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ describe.each([
4343
navigate: hashNavigation,
4444
act: (cb: () => void) => waitForHashChangeEvent(() => act(cb)),
4545
clear: () => {
46-
location.hash = "";
4746
history.replaceState(null, "", "/");
4847
},
4948
},

0 commit comments

Comments
 (0)