()
| 389 | }; |
| 390 | |
| 391 | const Test = () => { |
| 392 | const actorRef = useActorRef(machine); |
| 393 | const childActor = useSelector( |
| 394 | actorRef, |
| 395 | (s) => s.children.child as ActorRefFrom<typeof childMachine> |
| 396 | ); |
| 397 | |
| 398 | isDone = useSelector(actorRef, (s) => s.matches('success')); |
| 399 | |
| 400 | return <ChildTest actor={childActor} />; |
| 401 | }; |
| 402 | |
| 403 | render(<Test />); |
| 404 |
nothing calls this directly
no test coverage detected