Skip to content
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

Fix failing tests in link_to_test.js without jQuery #16650

Closed
wants to merge 1 commit into from

Conversation

robwebdev
Copy link

@robwebdev robwebdev commented May 17, 2018

#16058

This PR fixes the following tests:

The {{link-to}} helper - nested routes and link-to arguments: The {{link-to}} helper supports bubbles=false
The {{link-to}} helper - nested routes and link-to arguments: The {{link-to}} helper supports bubbles=boundFalseyThing

Status

  • No tests fail w/ jQuery
  • No tests fail w/o jQuery (except the test for Ember.$ is not undefined)

@robwebdev robwebdev changed the title Return false from handleEvent in linkTo if bubbles is false Fix link-to bubbles=false without jQuery May 17, 2018
@robwebdev robwebdev force-pushed the no-jquery branch 2 times, most recently from 3eb307e to ab9342d Compare May 17, 2018 22:16
@robwebdev robwebdev closed this May 17, 2018
@robwebdev robwebdev reopened this May 17, 2018
@robwebdev robwebdev force-pushed the no-jquery branch 2 times, most recently from d904f24 to c8a7bfc Compare May 17, 2018 22:46
@robwebdev robwebdev changed the title Fix link-to bubbles=false without jQuery Fix failing tests in link_to_test.js without jQuery May 18, 2018
@locks locks requested a review from krisselden May 21, 2018 17:31
@krisselden
Copy link
Contributor

Should we then update Travis to run them without jquery?

@robwebdev
Copy link
Author

@krisselden If I were to remove this conditional then I would expect the build to fail on Ember.$ is not 'undefined'. So maybe there is a bit more work to do to only run this test when jQuery is enabled and add a test for the inverse.

@locks locks self-assigned this Apr 19, 2020
@locks
Copy link
Contributor

locks commented Feb 5, 2022

I'm closing this due to no longer being relevant. Sorry for letting it slide!

@locks locks closed this Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants