Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
url.substr is not a function using Polly and I.mockRequest #1815
What are you trying to achieve?
I call I.mockRequest("/google-analytics/*path", 200);
What do you get instead?
url.substr is not a function - I.mockRequest("/google-analytics/*path", 200) at Test.<anonymous> (Wiley_test.js:11:6)