Skip to content

test: add unit tests for AuthService - #2

Merged
thivernale merged 1 commit into
mainfrom
claude/issue-1-20260403-1620
Apr 3, 2026
Merged

test: add unit tests for AuthService#2
thivernale merged 1 commit into
mainfrom
claude/issue-1-20260403-1620

Conversation

@thivernale

@thivernale thivernale commented Apr 3, 2026

Copy link
Copy Markdown
Owner

Closes #1

Adds comprehensive unit tests for AuthService covering all methods: register, login, getCurrentUser, and logout — including success paths, HTTP error handling, localStorage interactions, and signal state updates.

Generated with Claude Code

Cover register, login, getCurrentUser, and logout methods including
success paths, error handling, localStorage interactions, and signal state.

Co-authored-by: thivernale <thivernale@users.noreply.github.com>
@thivernale thivernale closed this Apr 3, 2026
@thivernale thivernale reopened this Apr 3, 2026
Comment thread src/app/auth/services/auth.service.spec.ts
Comment thread src/app/auth/services/auth.service.spec.ts
Comment thread src/app/auth/services/auth.service.spec.ts
Comment thread src/app/auth/services/auth.service.spec.ts
@thivernale
thivernale merged commit 693407a into main Apr 3, 2026
9 checks passed
@thivernale

Copy link
Copy Markdown
Owner Author

#2 (comment)
#2 (comment)
#2 (comment)
#2 (comment)
all resolved in #3

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.

Add unit tests for auth service

1 participant