Skip to content

F/21 auth routes#28

Open
PetN5026 wants to merge 2 commits into
mainfrom
f/21AuthRoutes
Open

F/21 auth routes#28
PetN5026 wants to merge 2 commits into
mainfrom
f/21AuthRoutes

Conversation

@PetN5026
Copy link
Copy Markdown
Collaborator

Summary

#21
Describe the change.
Added normalized kebab case routes while keeping old routes still working for current version.
Also added tests for new routes.

Type of Change

  • [x ] Feature
  • Fix
  • [ x] Refactor
  • Documentation
  • [ x] Test

Checklist

  • [x ] Tests pass
  • [ x] No breaking changes
  • Docs updated (if needed)
  • Security implications considered

@PetN5026 PetN5026 requested a review from Bccorb May 15, 2026 18:59
@PetN5026 PetN5026 self-assigned this May 15, 2026
Comment thread src/AuthRoutes.tsx
<Routes>
<Route path="/login" element={<Login />} />
<Route path="/passKeyLogin" element={<PassKeyLogin />} />
<Route path="/pass-key-login" element={<PassKeyLogin />} />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make passkey one word.

Comment thread tests/AuthRoutes.test.tsx

it('renders Passkey Login page on /pass-key-login', () => {
render(
<MemoryRouter initialEntries={['/passKeyLogin']}>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this test should it be /pass-key-login?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants