@algolia/requester-node-http
Advanced tools
Comparing version 5.0.0-alpha.5 to 5.0.0-alpha.6
{ | ||
"name": "@algolia/requester-node-http", | ||
"version": "5.0.0-alpha.5", | ||
"version": "5.0.0-alpha.6", | ||
"description": "Promise-based request library for node using the native http module.", | ||
@@ -21,3 +21,3 @@ "repository": "algolia/algoliasearch-client-javascript", | ||
"dependencies": { | ||
"@algolia/client-common": "5.0.0-alpha.5" | ||
"@algolia/client-common": "5.0.0-alpha.6" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
@@ -195,4 +195,4 @@ import http from 'http'; | ||
expect(response.content).toBe('Connection timeout'); | ||
expect(now - before).toBeGreaterThan(999); | ||
expect(now - before).toBeLessThan(1200); | ||
expect(now - before).toBeGreaterThanOrEqual(999); | ||
expect(now - before).toBeLessThanOrEqual(1200); | ||
}); | ||
@@ -211,4 +211,4 @@ | ||
expect(response.content).toBe('Connection timeout'); | ||
expect(now - before).toBeGreaterThan(1999); | ||
expect(now - before).toBeLessThan(2200); | ||
expect(now - before).toBeGreaterThanOrEqual(1999); | ||
expect(now - before).toBeLessThanOrEqual(2200); | ||
}); | ||
@@ -228,4 +228,4 @@ | ||
expect(response.content).toBe('Socket timeout'); | ||
expect(now - before).toBeGreaterThan(1999); | ||
expect(now - before).toBeLessThan(2200); | ||
expect(now - before).toBeGreaterThanOrEqual(1999); | ||
expect(now - before).toBeLessThanOrEqual(2200); | ||
}); | ||
@@ -244,4 +244,4 @@ | ||
expect(response.content).toBe('Socket timeout'); | ||
expect(now - before).toBeGreaterThan(2999); | ||
expect(now - before).toBeLessThan(3200); | ||
expect(now - before).toBeGreaterThanOrEqual(2999); | ||
expect(now - before).toBeLessThanOrEqual(3200); | ||
}); | ||
@@ -262,4 +262,4 @@ | ||
expect(response.content).toBe('{"foo": "bar"}'); | ||
expect(now - before).toBeGreaterThan(4999); | ||
expect(now - before).toBeLessThan(5200); | ||
expect(now - before).toBeGreaterThanOrEqual(4999); | ||
expect(now - before).toBeLessThanOrEqual(5200); | ||
}, 10000); // This is a long-running test, default server timeout is set to 5000ms | ||
@@ -266,0 +266,0 @@ }); |
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
22224
+ Added@algolia/client-common@5.0.0-alpha.6(transitive)
- Removed@algolia/client-common@5.0.0-alpha.5(transitive)