Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DTStack/dt-react-component
/ useChat.test.ts
File
useChat.test.ts
src/chat/__tests__/useChat.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ useEffect } from
'react'
;
2
import
{ act } from
'react-dom/test-utils'
;
3
import
{ renderHook } from
'@testing-library/react-hooks'
;
4
import
{ produce } from
'immer'
;
Callers
nothing calls this directly
Calls
1
useChat
Function · 0.85
Tested by
no test coverage detected