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
var transitionCount = 0; $transitions.onSuccess({}, function() { transitionCount++; }); $state.transitionTo('home.item', {id: 'world', '#': 'frag'}); $q.flush(); expect($location.hash()).toBe('frag'); expect(transitionCount).toBe(1); $state.transitionTo('home.item', {id: 'world', '#': 'blarg'}); $q.flush(); expect($location.hash()).toBe('blarg'); expect(transitionCount).toBe(2);
The second transition is ignored and transitionCount is 1
1
The text was updated successfully, but these errors were encountered:
79d4fd7
No branches or pull requests
The second transition is ignored and transitionCount is
1
The text was updated successfully, but these errors were encountered: