hangar-factory-girl
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -8,3 +8,3 @@ var url = require('url'); | ||
this._timer = this._options['timer'] || 500; | ||
this._wait_time = this._options['wait_time'] || 1000; | ||
@@ -67,3 +67,3 @@ var result = url.parse(this._options['url'] || browser.baseUrl); | ||
var timedout = false; | ||
request.setTimeout(this._timer, function() { | ||
request.setTimeout(this._wait_time, function() { | ||
console.log("error: timeout"); | ||
@@ -70,0 +70,0 @@ timedout = true; |
{ | ||
"name": "hangar-factory-girl", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Library to use Hangar with protractor", | ||
@@ -5,0 +5,0 @@ "main": "hangar-factory-girl.js", |
@@ -40,5 +40,13 @@ # Hangar Factory Girl | ||
``` | ||
## Options | ||
By default the waiting time used in http-sync is set to 1000. You can override it as: | ||
```javascript | ||
var hangar = require('hangar-factory-girl'); | ||
var factory = new hangar({ wait_time: 2000 }); | ||
``` | ||
## License | ||
MIT |
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
4994
52