@dev-blinq/cucumber_client 1.0.1512-dev → 1.0.1513-dev
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.
|
@@ -1249,7 +1249,7 @@ export class BVTRecorder {
|
|
|
1249
1249
|
const value = params[key].substring(2, params[key].length - 2).trim();
|
|
1250
1250
|
const faking = value.split("(")[0].split(".");
|
|
1251
1251
|
let argument = value.substring(value.indexOf("(") + 1, value.lastIndexOf(")"));
|
|
1252
|
-
argument = isNaN(Number(argument)) ? argument : Number(argument);
|
|
1252
|
+
argument = isNaN(Number(argument)) || argument === "" ? argument : Number(argument);
|
|
1253
1253
|
let fakeFunc = faker;
|
|
1254
1254
|
faking.forEach((f) => {
|
|
1255
1255
|
fakeFunc = fakeFunc[f];
|