Skip to content

Add chat controller tests - #36

Merged
anikchand461 merged 1 commit into
smollabs:mainfrom
priyanshiy1312-ui:test/23-chat-controller
Nov 23, 2026
Merged

anikchand461 merged 1 commit into
smollabs:mainfrom
priyanshiy1312-ui:test/23-chat-controller

Conversation

@priyanshiy1312-ui

Copy link
Copy Markdown
Contributor

Adds tests covering:

  • Sending a message and creating a conversation.
  • Saving user and assistant messages to the database.
  • Regenerating an assistant reply.

Uses a temporary app data directory and the existing fake inference engine.
closes #23

@anikchand461
anikchand461 merged commit 4d2cc07 into smollabs:main Nov 23, 2026
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 tests for the chat controller (send, stop, regenerate, errors)

2 participants