We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Here is the use case:
Trying to test a component that uses the google place autocomplete.
I need to mock the auth and query requests.
For some reason, in the integration test, mockJax does not seem to match any requests when a handler is created directly through the mockJax global.
mockJax
We've tried using $.mockJax and Ember.$.mockJax.
Neither intercept any of the requests.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered:
maybe simple as this:
let widget = this.build('widget', 'withExtras').get(); Ember.$.mockjax({ url: `/my/custom/widget`, responseText: widget, type: 'GET' });
as in ( lowercase the mockjax )
Sorry, something went wrong.
did this work for you?
Thank you. I haven't had a chance to try it yet since we skipped that test for now. Will close and keep you posted once I try it out.
Thanks again
No branches or pull requests
Hi,
Here is the use case:
Trying to test a component that uses the google place autocomplete.
I need to mock the auth and query requests.
For some reason, in the integration test,
mockJax
does not seem to match any requests when a handler is created directly through the mockJax global.We've tried using $.mockJax and Ember.$.mockJax.
Neither intercept any of the requests.
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: