We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46e4fa8 commit 340e4daCopy full SHA for 340e4da
test/ng/locationSpec.js
@@ -2330,6 +2330,9 @@ describe('$location', function() {
2330
$windowProvider.$get = function() {
2331
var win = {};
2332
angular.extend(win, window);
2333
+ // Ensure `window` is a reference to the mock global object, so that
2334
+ // jqLite does the right thing.
2335
+ win.window = win;
2336
win.history = {
2337
state: options.state || null,
2338
replaceState: function(state, title, url) {
0 commit comments