Hey there! This is my first public PR so if I need to change anything please let me know! I was using this library for a project and ran into an issue when we accidentally attempted to instantiate a mock instance against an empty import. Hopefully this saves some folks some time in the future.
• Throw an error if there is no axios instance available to mock
• Test failing constructor
Hey there! This is my first public PR so if I need to change anything please let me know! I was using this library for a project and ran into an issue when we accidentally attempted to instantiate a mock instance against an empty import. Hopefully this saves some folks some time in the future.
• Throw an error if there is no axios instance available to mock • Test failing constructor