Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Closed
Prev Previous commit
Next Next commit
test($location): add assertion
  • Loading branch information
gkalpak committed Jul 26, 2018
commit bbf6900181917e190dad278e7022d1fc1e017324
1 change: 1 addition & 0 deletions test/ng/locationSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ describe('$location', function() {
inject(function($browser, $location, $window) {
expect($browser.url()).toBe('http://new.com/#');
expect($location.absUrl()).toBe('http://new.com/');
expect($window.location.href).toBe('http://new.com/#');
});
});

Expand Down