testaro 8.4.3 → 8.4.4
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/package.json +1 -1
- package/run.js +2 -2
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -263,8 +263,8 @@ const isValidReport = report => {
|
|
|
263
263
|
[commands[1].which, 'second command has which property'],
|
|
264
264
|
[isURL(commands[1].which), 'second command which property has URL value'],
|
|
265
265
|
[commands.every(command => isValidCommand(command)), 'every command is valid'],
|
|
266
|
-
[typeof sources.script === 'string', 'sources has script property with string value'],
|
|
267
|
-
[sources.host, 'sources has host property']
|
|
266
|
+
[sources && typeof sources.script === 'string', 'sources has script property with string value'],
|
|
267
|
+
[sources && sources.host, 'sources has host property']
|
|
268
268
|
];
|
|
269
269
|
const invalidityIndex = criteria.findIndex(criterion => ! criterion[0]);
|
|
270
270
|
if (invalidityIndex > -1) {
|