This repo was created to answer the following StackOverflow question https://stackoverflow.com/questions/50165771/keep-this-context-when-mocking-promise-in-function-on-component