|
@@ -186,6 +186,7 @@ function StatsCollector(
|
186
|
186
|
const keys = KEYS_BY_BROWSER_TYPE[this._browserType];
|
187
|
187
|
|
188
|
188
|
if (!keys) {
|
|
189
|
+ // eslint-disable-next-line no-throw-literal
|
189
|
190
|
throw `The browser type '${this._browserType}' isn't supported!`;
|
190
|
191
|
}
|
191
|
192
|
|
|
@@ -328,8 +329,9 @@ StatsCollector.prototype._defineGetStatValueMethod = function(keys) {
|
328
|
329
|
if (key) {
|
329
|
330
|
return key;
|
330
|
331
|
}
|
331
|
|
- throw `The property '${name}' isn't supported!`;
|
332
|
332
|
|
|
333
|
+ // eslint-disable-next-line no-throw-literal
|
|
334
|
+ throw `The property '${name}' isn't supported!`;
|
333
|
335
|
};
|
334
|
336
|
|
335
|
337
|
// Define the function which retrieves the value from a specific report
|