@artilleryio/int-core 2.8.0 → 2.9.0-10da198

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/engine_http.js +8 -3
  2. package/package.json +13 -5
@@ -856,9 +856,14 @@ function lastRequest(res, requestParams) {
856
856
  HttpEngine.prototype.setInitialContext = function (initialContext) {
857
857
  initialContext._successCount = 0;
858
858
 
859
- initialContext._defaultStrictCapture =
860
- this.config.http.defaults.strictCapture ||
861
- this.config.defaults.strictCapture;
859
+ initialContext._defaultStrictCapture = true;
860
+ if (
861
+ this.config.http?.defaults?.strictCapture === false ||
862
+ this.config.defaults?.strictCapture === false
863
+ ) {
864
+ initialContext._defaultStrictCapture = false;
865
+ }
866
+
862
867
  initialContext._jar = new tough.CookieJar(
863
868
  null,
864
869
  this.config.http.cookieJarOptions
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@artilleryio/int-core",
3
- "version": "2.8.0",
3
+ "version": "2.9.0-10da198",
4
4
  "main": "./index.js",
5
5
  "license": "MPL-2.0",
6
6
  "dependencies": {
7
- "@artilleryio/int-commons": "2.4.0",
7
+ "@artilleryio/int-commons": "2.5.0-10da198",
8
8
  "@artilleryio/sketches-js": "^2.1.1",
9
9
  "agentkeepalive": "^4.1.0",
10
10
  "arrivals": "^2.1.2",
@@ -39,8 +39,16 @@
39
39
  "lint": "eslint --ext \".js,.ts,.tsx\" .",
40
40
  "lint-fix": "npm run lint -- --fix",
41
41
  "test": "npm run test:unit && npm run test:acceptance",
42
- "test:unit": "tap --no-coverage --color --timeout=300 test/unit/*.test.js",
43
- "test:acceptance": "tap --no-coverage --color --timeout 300 test/acceptance/*.test.js && tap --no-coverage --color --timeout=300 test/acceptance/**/*.test.js"
42
+ "test:unit": "tap --timeout=300 test/unit/*.test.js",
43
+ "test:acceptance": "tap --timeout 300 test/acceptance/*.test.js && tap --timeout=300 test/acceptance/**/*.test.js"
44
+ },
45
+ "tap": {
46
+ "disable-coverage": true,
47
+ "allow-empty-coverage": true,
48
+ "color": true,
49
+ "test-env": [
50
+ "ARTILLERY_TELEMETRY_DEFAULTS={\"source\":\"test-suite\"}"
51
+ ]
44
52
  },
45
53
  "devDependencies": {
46
54
  "@hapi/basic": "^6.0.0",
@@ -51,6 +59,6 @@
51
59
  "rewiremock": "^3.14.3",
52
60
  "sinon": "^4.5.0",
53
61
  "socket.io": "^4.7.1",
54
- "tap": "^16.3.7"
62
+ "tap": "^19.0.2"
55
63
  }
56
64
  }