Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hangar-factory-girl

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hangar-factory-girl - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

hangar-factory-girl.js

@@ -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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc