You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('it can follow the link',function(){this.link=linkFor('somewhere');this.link.onTransitionTo=()=>assert.step('link clicked');awaitrender(hbs`<MyComponent @link={{this.link}}/>`);awaitclick(...);assert.verifySteps(['link clicked']);});
the click() will actually make the link to be transitioned and not prevented.
The text was updated successfully, but these errors were encountered:
Simply:
inside the component:
and then writing tests for this:
the
click()
will actually make the link to be transitioned and not prevented.The text was updated successfully, but these errors were encountered: