We now have a mock API to call that behaves the way we want it to. Next on our list is creating the actions that will handle the results from our mock API. For the process of getting a speaker, we will need two actions. One of the actions will notify the application about a successful find and provide the found speaker to the reducers. The other action will notify the application about the failure to find the requested speaker.
Let's write a test to confirm its existence. This test should be inside the synchronous tests section of the speaker actions tests. We will also want to create a new describe for the get speaker success action.
describe('Find Speaker Success', () => { it('exists', () => {
expect(speakerActions.getSpeakerSuccess).to.exist; ...