testaro 9.0.0 → 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.
- package/README.md +1 -1
- package/package.json +1 -1
- package/run.js +2 -2
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ All of the tests that Testaro can perform are free of cost, except those in the
|
|
|
111
111
|
|
|
112
112
|
A _job_ is an object containing instructions for Testaro.
|
|
113
113
|
|
|
114
|
-
A _report_ is
|
|
114
|
+
A _report_ is a job with added properties describing the results from Testaro running the job.
|
|
115
115
|
|
|
116
116
|
### Jobs
|
|
117
117
|
|
package/package.json
CHANGED
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 (
|
|
235
|
+
if (typeof strict !== 'boolean') {
|
|
236
236
|
return 'Bad report strict';
|
|
237
237
|
}
|
|
238
|
-
if (
|
|
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) {
|