The createOvermindMock factory creates an instance of Overmind which can be used to test actions. You can mock out effects and evaluate mutations performed during action execution.
It is important that you separate your config from the instantiation of Overmind, meaning that createOvermind should not be used in the same file as the config you see imported here, it should rather be used where you render your application. This allows the config to be used for multiple purposes.
Setting initial state
Pass a function as the second or third argument to set initial state.