@algolia/requester-fetch
Advanced tools
Comparing version 5.0.0-alpha.5 to 5.0.0-alpha.6
{ | ||
"name": "@algolia/requester-fetch", | ||
"version": "5.0.0-alpha.5", | ||
"version": "5.0.0-alpha.6", | ||
"description": "Promise-based request library using Fetch.", | ||
@@ -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": { |
@@ -139,4 +139,4 @@ import type 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); | ||
}); | ||
@@ -155,4 +155,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); | ||
}); | ||
@@ -172,4 +172,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); | ||
}); | ||
@@ -188,4 +188,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); | ||
}); | ||
@@ -206,4 +206,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 | ||
@@ -210,0 +210,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
15674
+ Added@algolia/client-common@5.0.0-alpha.6(transitive)
- Removed@algolia/client-common@5.0.0-alpha.5(transitive)