Exercise
Export updateSearchTopStoriesState
from the file. Write a test for it which passes the a payload (hits, page) and a made up previous state and finally expect a new state
Problem : please can i have help on how to write unit test for a function using jest and Enzyme , how to do it ?