mock-browser
Advanced tools
Comparing version 0.90.32 to 0.90.33
@@ -43,2 +43,6 @@ /** | ||
this.getNavigator = function() { | ||
return win.navigator; | ||
}; | ||
// constructor validations | ||
@@ -45,0 +49,0 @@ if (!win) throw new Error('AbstractBrowser requires a window object'); |
{ | ||
"name": "mock-browser", | ||
"version": "0.90.32", | ||
"version": "0.90.33", | ||
"description": "A mock browser with window, document, location, navigation, local and session storage to use for client side code tests in a node environment.", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"node-jsdom": "^3.1.3", | ||
"lodash": "^3.1.0" | ||
"lodash": "^3.6.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
@@ -78,2 +78,3 @@ #Mock Browser | ||
* getLocation() | ||
* getNavigator() | ||
* getHistory() | ||
@@ -101,3 +102,3 @@ * getLocalStorage() | ||
// inherit getWindow(), getDocument(), getLocation(), getHistory(), | ||
// getLocalStorage(), getSessionStorage() | ||
// getLocalStorage(), getSessionStorage(), getNavigator() | ||
AbstractBrowser.extend( this, options ); | ||
@@ -151,2 +152,2 @@ | ||
- - - | ||
<p><small><em>copyright © 2014-2015 rain city software | version 0.90.31</em></small></p> | ||
<p><small><em>copyright © 2014-2015 rain city software | version 0.90.33</em></small></p> |
@@ -35,2 +35,3 @@ /** | ||
'getLocation', | ||
'getNavigator', | ||
'getLocalStorage', | ||
@@ -37,0 +38,0 @@ 'getSessionStorage' |
@@ -22,2 +22,3 @@ /** | ||
'getLocation', | ||
'getNavigator', | ||
'getLocalStorage', | ||
@@ -142,4 +143,6 @@ 'getSessionStorage' | ||
should.exist( win.location ); | ||
should.exist( win.navigator ); | ||
}); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25393
518
151
Updatedlodash@^3.6.0