()
| 445 | |
| 446 | it('should support setting "null" for method setValue', async () => { |
| 447 | const Footer = () => { |
| 448 | const state = useContext(CalendarStateContext); |
| 449 | const {setValue} = state; |
| 450 | |
| 451 | return ( |
| 452 | <div> |
| 453 | <Button slot={null} className="reset-button" onPress={() => setValue(null)}> |
| 454 | Reset value |
| 455 | </Button> |
| 456 | </div> |
| 457 | ); |
| 458 | }; |
| 459 | |
| 460 | let {getByRole} = render( |
| 461 | <Calendar |
nothing calls this directly
no outgoing calls
no test coverage detected