webpipe-js 2.0.19 → 2.0.20
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/dist/index.cjs +8 -3
- package/dist/index.mjs +8 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1064,9 +1064,14 @@ var Parser = class {
|
|
|
1064
1064
|
const tests = [];
|
|
1065
1065
|
while (true) {
|
|
1066
1066
|
this.skipSpaces();
|
|
1067
|
-
const
|
|
1068
|
-
if (
|
|
1069
|
-
mocks.push(
|
|
1067
|
+
const withMock = this.tryParse(() => this.parseMock());
|
|
1068
|
+
if (withMock) {
|
|
1069
|
+
mocks.push(withMock);
|
|
1070
|
+
continue;
|
|
1071
|
+
}
|
|
1072
|
+
const andMock = this.tryParse(() => this.parseAndMock());
|
|
1073
|
+
if (andMock) {
|
|
1074
|
+
mocks.push(andMock);
|
|
1070
1075
|
continue;
|
|
1071
1076
|
}
|
|
1072
1077
|
const it = this.tryParse(() => this.parseIt());
|
package/dist/index.mjs
CHANGED
|
@@ -1014,9 +1014,14 @@ var Parser = class {
|
|
|
1014
1014
|
const tests = [];
|
|
1015
1015
|
while (true) {
|
|
1016
1016
|
this.skipSpaces();
|
|
1017
|
-
const
|
|
1018
|
-
if (
|
|
1019
|
-
mocks.push(
|
|
1017
|
+
const withMock = this.tryParse(() => this.parseMock());
|
|
1018
|
+
if (withMock) {
|
|
1019
|
+
mocks.push(withMock);
|
|
1020
|
+
continue;
|
|
1021
|
+
}
|
|
1022
|
+
const andMock = this.tryParse(() => this.parseAndMock());
|
|
1023
|
+
if (andMock) {
|
|
1024
|
+
mocks.push(andMock);
|
|
1020
1025
|
continue;
|
|
1021
1026
|
}
|
|
1022
1027
|
const it = this.tryParse(() => this.parseIt());
|