mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
added hover service
This commit is contained in:
@@ -3,7 +3,7 @@ BrowserTest = TestCase('BrowserTest');
|
||||
BrowserTest.prototype.testUrlWatcher = function () {
|
||||
expectAsserts(2);
|
||||
var location = {href:"http://server", hash:""};
|
||||
var watcher = new Browser(location);
|
||||
var watcher = new Browser(location, {});
|
||||
watcher.delay = 1;
|
||||
watcher.watchUrl(function(url){
|
||||
assertEquals('http://getangular.test', url);
|
||||
|
||||
Reference in New Issue
Block a user