fix(web): address preview badge review

This commit is contained in:
ZiyaZhang
2026-08-05 23:26:39 -07:00
parent 047ea50987
commit 7c1ae32e55
5 changed files with 78 additions and 4 deletions
@@ -215,13 +215,15 @@ function mount(
}
}
describe('ConversationRoot resident composer', () => {
describe('Hero chrome', () => {
it('renders the English preview badge through the hero locale seat', () => {
const view = render(<HeroShell t={makeTranslate(en, commonEn)} />)
expect(view.getByText('Let\'s start building')).toBeTruthy()
expect(view.getByText('Preview')).toBeTruthy()
})
})
describe('ConversationRoot resident composer', () => {
it('keeps composer text in the machine, mirrors to the chat store, and submits through the sink', () => {
const b = mount(conversationSnapshot())
const box = b.view.getByRole('textbox')