(props)
| 89 | const onClose = jest.fn(); |
| 90 | const ThemedFindDialog = withTheme(FindDialog); |
| 91 | const ctrlMount = (props)=>{ |
| 92 | ctrl = render( |
| 93 | <ThemedFindDialog |
| 94 | editor={editor} |
| 95 | show={true} |
| 96 | onClose={onClose} |
| 97 | {...props} |
| 98 | /> |
| 99 | ); |
| 100 | }; |
| 101 | |
| 102 | it('init', ()=>{ |
| 103 | ctrlMount({}); |