-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No fallback response defined for GET to https://API_URL/api/v1/invite/undefined #299
Comments
The error is telling you that
Closing for now. Please reopen and create a demo repo recreating the problem if it persists |
Just FYI I hit this same error, and it seems that it is caused by either not having body or response set in the options. it had nothing to do with the matcher/url. |
@jharris4 Can you share the exact code snippet where we need to add body/response in options for reference? |
@ChetnaGupta sorry, it has been a while since I looked at this, but I can tell you the changes I made to update to the new version: In most of our tests it was as simple as removing this line:
And for one of the tests, I had to replace: response: {
status: status,
headers: {
['Content-Type']: 'application/json'
},
body: '',
sendAsJson: true
} with just:
|
Thanks @jharris4 |
I am trying to mock an API call to
/invite/[INVITE_TOKEN]
but I keep gettingNo fallback response defined for GET to https://API_URL/api/v1/invite/undefined
.The text was updated successfully, but these errors were encountered: