Skip to content

Commit 956d51a

Browse files
committed
fix typo in test
1 parent a3e3c38 commit 956d51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/react-router/basic-file-based/tests/optionalParams.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test.describe('ensure paths with optional params are resolved correctly', () =>
4848
await singlePathLink.click()
4949
await page.waitForURL('/optional-params/single/path')
5050
pagePathname = new URL(page.url()).pathname
51-
expect(pagePathname).toBe('/optional-params/single/paht')
51+
expect(pagePathname).toBe('/optional-params/single/path')
5252
await expect(page.getByTestId('single-path-heading')).toBeVisible()
5353
})
5454

0 commit comments

Comments
 (0)