Seamless client side mocking
FIX (interceptor): When multiple mocks for the same url exist it ignored active status of the mock (#262)
Thanks to @kmichal for catching this bug
Chore (xhook): Update xhook dependency due to a bug failing XHR requests with responseType text
Fix an issue with main import file was not published to npm.
This release is deprecated due to an issue with publishing to npm
<head>
tagWe worked very hard for a long while to get this version out, but now it's here. A complete redesigned experience of using Mimic, we worked with the great @ilyabirman to rethink Mimic from scratch in terms of usability from our own personal experience of using it every day in our projects.
Please note that this includes breaking changes to the API thus the 2.0 version.
After a long time of using Mimic every day we decided that scenarios are no longer a concept that fits the more general use case for Mimic. So we replaced them with a more general concept as "Groups" therefore the entire scenario API has been removed and a new group api has been introduced.
Note that these methods changed not only in name but in parameters as well.