testaro 9.0.1 → 9.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/package.json +1 -1
  2. package/run.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/run.js CHANGED
@@ -232,10 +232,10 @@ const isValidReport = report => {
232
232
  if (! what || typeof what !== 'string') {
233
233
  return 'Bad report what';
234
234
  }
235
- if (! strict || typeof strict !== 'boolean') {
235
+ if (typeof strict !== 'boolean') {
236
236
  return 'Bad report strict';
237
237
  }
238
- if (! timeLimit || typeof timeLimit !== 'number' || timeLimit < 1) {
238
+ if (typeof timeLimit !== 'number' || timeLimit < 1) {
239
239
  return 'Bad report time limit';
240
240
  }
241
241
  if (! acts || ! Array.isArray(acts) || acts.length < 2) {