Skip to content

Commit 35b8446

Browse files
committed
resolve codeRabbit nitpick
1 parent 538e218 commit 35b8446

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎e2e/react-router/basepath-file-based/src/routes/index.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function App() {
2828
})
2929
}
3030
>
31-
Navigate to /redirect without document reload
31+
Navigate to /redirect
3232
</button>{' '}
3333
<button
3434
data-testid="to-redirect-reload-btn"
@@ -38,7 +38,7 @@ function App() {
3838
})
3939
}
4040
>
41-
Navigate to /about with document reload
41+
Navigate to /redirectReload
4242
</button>
4343
</div>
4444
)

‎e2e/react-router/basepath-file-based/tests/reload-document.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test('redirect respects basepath', async ({ page }) => {
2727
await expect(page.getByTestId(`about-component`)).toBeInViewport()
2828
})
2929

30-
test('redirect respects basepath with reload document = true', async ({
30+
test('redirect respects basepath with reloadDocument = true on redirect', async ({
3131
page,
3232
}) => {
3333
await page.goto(`/app/`)

0 commit comments

Comments
 (0)