mock-browser
Advanced tools
Comparing version 0.90.16 to 0.90.17
{ | ||
"name": "mock-browser", | ||
"version": "0.90.16", | ||
"version": "0.90.17", | ||
"description": "A mock browser with window, document, location, navigation, local and session storage to use for client side code tests in a node environment.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -24,3 +24,3 @@ #Mock Browser | ||
The use case is you have a browserify client project and unit tests need to provide a mechanism for client modules to access the window, document, location, etc. The best way to simulate this is to use a proxy wall between the normally global browser objects a require the application to get instances of window, document, etc. That way you can supply a mock for all of these objects with a common interface (AbstractBrowser). It looks like this... | ||
The typical use case is a browserify project with unit tests that need to provide access to browser globals like window, document, location, etc. The best way to simulate this is to use a proxy wall between the normally global browser objects a require the application to get instances of window, document, etc. That way you can supply a mock for all of these objects with a common interface (AbstractBrowser). It looks like this... | ||
@@ -150,2 +150,2 @@ ~~~ | ||
- - - | ||
<p><small><em>copyright © 2014 rain city software | version 0.90.16</em></small></p> | ||
<p><small><em>copyright © 2014 rain city software | version 0.90.17</em></small></p> |
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
23112