datagrok-tools 4.13.36 → 4.13.38
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/CHANGELOG.md +12 -0
- package/bin/commands/test.js +21 -23
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/bin/commands/test.js
CHANGED
|
@@ -162,7 +162,7 @@ function _runTesting() {
|
|
|
162
162
|
_iterator2.f();
|
|
163
163
|
}
|
|
164
164
|
if (!(testsToReproduce.length > 0)) {
|
|
165
|
-
_context2.next =
|
|
165
|
+
_context2.next = 41;
|
|
166
166
|
break;
|
|
167
167
|
}
|
|
168
168
|
_context2.next = 20;
|
|
@@ -174,53 +174,51 @@ function _runTesting() {
|
|
|
174
174
|
_iterator3.s();
|
|
175
175
|
case 24:
|
|
176
176
|
if ((_step3 = _iterator3.n()).done) {
|
|
177
|
-
_context2.next =
|
|
177
|
+
_context2.next = 33;
|
|
178
178
|
break;
|
|
179
179
|
}
|
|
180
180
|
_test2 = _step3.value;
|
|
181
181
|
_reproducedTest2 = reproduced.get(_test2);
|
|
182
|
-
console.log(_test2);
|
|
183
182
|
if (!(_reproducedTest2 && !_reproducedTest2.failed)) {
|
|
184
|
-
_context2.next =
|
|
183
|
+
_context2.next = 31;
|
|
185
184
|
break;
|
|
186
185
|
}
|
|
187
|
-
_context2.next =
|
|
186
|
+
_context2.next = 30;
|
|
188
187
|
return updateResultsByReproduced(r, _reproducedTest2, _test2);
|
|
189
|
-
case
|
|
188
|
+
case 30:
|
|
190
189
|
r = _context2.sent;
|
|
191
|
-
case
|
|
190
|
+
case 31:
|
|
192
191
|
_context2.next = 24;
|
|
193
192
|
break;
|
|
194
|
-
case
|
|
195
|
-
_context2.next =
|
|
193
|
+
case 33:
|
|
194
|
+
_context2.next = 38;
|
|
196
195
|
break;
|
|
197
|
-
case
|
|
198
|
-
_context2.prev =
|
|
196
|
+
case 35:
|
|
197
|
+
_context2.prev = 35;
|
|
199
198
|
_context2.t0 = _context2["catch"](22);
|
|
200
199
|
_iterator3.e(_context2.t0);
|
|
201
|
-
case
|
|
202
|
-
_context2.prev =
|
|
200
|
+
case 38:
|
|
201
|
+
_context2.prev = 38;
|
|
203
202
|
_iterator3.f();
|
|
204
|
-
return _context2.finish(
|
|
205
|
-
case
|
|
203
|
+
return _context2.finish(38);
|
|
204
|
+
case 41:
|
|
206
205
|
testsResults.push(r);
|
|
207
206
|
organized = testsLeft;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
if (r.verboseFailed.includes('Error')) {
|
|
207
|
+
case 43:
|
|
208
|
+
if (r.failed) {
|
|
211
209
|
_context2.next = 10;
|
|
212
210
|
break;
|
|
213
211
|
}
|
|
214
|
-
case
|
|
215
|
-
_context2.next =
|
|
212
|
+
case 44:
|
|
213
|
+
_context2.next = 46;
|
|
216
214
|
return (0, _testUtils.mergeWorkersResults)(testsResults);
|
|
217
|
-
case
|
|
215
|
+
case 46:
|
|
218
216
|
return _context2.abrupt("return", _context2.sent);
|
|
219
|
-
case
|
|
217
|
+
case 47:
|
|
220
218
|
case "end":
|
|
221
219
|
return _context2.stop();
|
|
222
220
|
}
|
|
223
|
-
}, _callee2, null, [[22,
|
|
221
|
+
}, _callee2, null, [[22, 35, 38, 41]]);
|
|
224
222
|
}));
|
|
225
223
|
return _runTesting.apply(this, arguments);
|
|
226
224
|
}
|
package/package.json
CHANGED