mirror of
https://github.com/run-llama/chat-ui.git
synced 2026-08-26 21:21:17 -04:00
[PR #137] [MERGED] feat: add unit tests for chat-ui #151
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/run-llama/chat-ui/pull/137
Author: @thucpn
Created: 6/18/2025
Status: ✅ Merged
Merged: 6/19/2025
Merged by: @marcusschiesser
Base:
main← Head:tp/add-use-workflow-tests📝 Commits (10+)
6408e3bfeat: add unit tests for chat-ui5acb38dupdate ci to run test in chat-ui packages05e9e6eremove dead code641e97cfix format4f922d6test sending event and stop eventad691fbrefactor: able to set default service via workflow paramse477859update llama-deploy example to switch between workflowsf4cab27update document832d909Create slimy-mails-smash.md2a7f40dUpdate .changeset/slimy-mails-smash.md📊 Changes
16 files changed (+2032 additions, -94 deletions)
View changed files
➕
.changeset/slimy-mails-smash.md(+6 -0)📝
.github/workflows/ci.yml(+4 -0)📝
docs/chat-ui/hooks.mdx(+13 -13)📝
examples/llama-deploy/llama_deploy.yml(+7 -1)📝
examples/llama-deploy/src/adhoc_workflow.py(+2 -2)➕
examples/llama-deploy/src/echo_workflow.py(+31 -0)📝
examples/llama-deploy/ui/app/page.tsx(+53 -27)📝
packages/chat-ui/package.json(+13 -2)📝
packages/chat-ui/src/hook/use-workflow/helper.ts(+5 -1)📝
packages/chat-ui/src/hook/use-workflow/hook.ts(+13 -8)📝
packages/chat-ui/src/hook/use-workflow/types.ts(+7 -7)➕
packages/chat-ui/src/test/__tests__/use-workflow.test.tsx(+243 -0)➕
packages/chat-ui/src/test/mocks/llama-deploy-server.ts(+151 -0)➕
packages/chat-ui/src/test/setup.ts(+14 -0)➕
packages/chat-ui/vitest.config.ts(+16 -0)📝
pnpm-lock.yaml(+1454 -33)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.