testaro 71.0.0 → 71.0.2

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 +4 -2
  2. package/package.json +1 -1
package/netWatch.js CHANGED
@@ -185,6 +185,8 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
185
185
  console.log(
186
186
  `${reportLogStart}response message: ${JSON.stringify(ackObj, null, 2)}\n`
187
187
  );
188
+ // Wait for the specified interval.
189
+ await wait(1000 * intervalInSeconds);
188
190
  }
189
191
  // If it is not JSON:
190
192
  catch(error) {
@@ -192,12 +194,12 @@ exports.netWatch = async (isForever, intervalInSeconds, isCertTolerant = true) =
192
194
  console.log(
193
195
  `ERROR: ${reportLogStart}status ${repResponse.statusCode}, error message ${error.message}, and response ${content.slice(0, 1000)}\n`
194
196
  );
197
+ // Wait for the specified interval.
198
+ await wait(1000 * intervalInSeconds);
195
199
  }
196
200
  // Free the memory used by the job and the report.
197
201
  contentObj = {};
198
202
  responseJSON = '';
199
- // Wait for the specified interval.
200
- await wait(1000 * intervalInSeconds);
201
203
  resolve(true);
202
204
  });
203
205
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "71.0.0",
3
+ "version": "71.0.2",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {