testaro 70.0.3 → 70.2.0

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/netWatch.js +0 -13
  2. package/package.json +1 -1
package/netWatch.js CHANGED
@@ -95,9 +95,6 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
95
95
  .on('error', async error => {
96
96
  // Report it.
97
97
  console.log(`${logStart}error message ${error.message}`);
98
- // Stop checking.
99
- abort = true;
100
- resolve(true);
101
98
  })
102
99
  // If the response delivers data:
103
100
  .on('data', chunk => {
@@ -246,29 +243,21 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
246
243
  if (error.code && error.code.includes('ECONNREFUSED')) {
247
244
  // Report this.
248
245
  console.log(`${logStart}no connection`);
249
- // Stop checking.
250
- abort = true;
251
246
  }
252
247
  // Otherwise, if it was a DNS failure:
253
248
  else if (error.code && error.code.includes('ENOTFOUND')) {
254
249
  // Report this.
255
250
  console.log(`${logStart}no domain name resolution`);
256
- // Stop checking.
257
- abort = true;
258
251
  }
259
252
  // Otherwise, if it was any other error with a message:
260
253
  else if (error.message) {
261
254
  // Report this.
262
255
  console.log(`ERROR: ${logStart}got error message ${error.message.slice(0, 200)}`);
263
- // Stop checking.
264
- abort = true;
265
256
  }
266
257
  // Otherwise, i.e. if it was any other error with no message:
267
258
  else {
268
259
  // Report this.
269
260
  console.log(`ERROR: ${logStart}got an error with no message`);
270
- // Stop checking.
271
- abort = true;
272
261
  }
273
262
  resolve(true);
274
263
  })
@@ -281,8 +270,6 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
281
270
  catch(error) {
282
271
  // Report this.
283
272
  console.log(`ERROR requesting a network job (${error.message})`);
284
- // Stop checking.
285
- abort = true;
286
273
  resolve(true);
287
274
  }
288
275
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "70.0.3",
3
+ "version": "70.2.0",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {