Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
MockNetworkInterface match mock requests regardless of variable order #973
Currently mock data needs to exactly match the request being made within a component being tested. This is because requests object are stringified and used as keys when registering and looking up the corresponding response objects to be returned. This change sorts the request object when it is stringified so the order of variables doesn't matter.
This issue is discussed in #674