Skip to content

Conversation

@Wendong-Fan
Copy link
Contributor

Description

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Comment on lines +282 to +285
// 7. Verify chatStore state is correct by getting fresh state
const updatedChatStore = result.current.chatStore
expect(updatedChatStore!.tasks[taskId!].summaryTask).toContain('Todo List Application')
expect(updatedChatStore!.tasks[taskId!].taskInfo).toHaveLength(3)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

let's assert user-facing behavior, not implementation details, part 7 is actually checking internal state, which is not necessary, we'd better add mock in SSE level to do feature test

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.

3 participants