(text: string)
| 27 | } |
| 28 | |
| 29 | const search = (text: string) => |
| 30 | dispatch({type: 'SET_SEARCH_TEXT', payload: text}); |
| 31 | const goToNextResult = () => dispatch({type: 'GO_TO_NEXT_SEARCH_RESULT'}); |
| 32 | const goToPreviousResult = () => |
| 33 | dispatch({type: 'GO_TO_PREVIOUS_SEARCH_RESULT'}); |
no test coverage detected