Unit tests that always supply a good bug report when they fail for Jest.
A simple mock function to mock functions.