testit-js-commons 4.1.0 → 4.1.1-TMS-5.7
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.
|
@@ -118,8 +118,8 @@ class AutotestsService extends common_1.BaseService {
|
|
|
118
118
|
}
|
|
119
119
|
updateAutotestFromFailed(originAutotest, autotest) {
|
|
120
120
|
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
var _a, _b;
|
|
122
|
-
yield this.updateAutotest(Object.assign(Object.assign({}, originAutotest), { externalId: (_a = originAutotest === null || originAutotest === void 0 ? void 0 : originAutotest.externalId) !== null && _a !== void 0 ? _a : autotest.externalId, name: (_b = originAutotest === null || originAutotest === void 0 ? void 0 : originAutotest.name) !== null && _b !== void 0 ? _b : autotest.name, links: autotest.links, externalKey: autotest.externalKey, steps: autotest.steps, setup: autotest.setup, teardown: autotest.teardown, title: autotest.title, description: autotest.description, namespace: autotest.namespace, classname: autotest.classname, labels: autotest.labels, tags: autotest.tags, workItemIds: autotest.workItemIds, isFlaky: autotest.isFlaky, shouldCreateWorkItem: autotest.shouldCreateWorkItem }));
|
|
121
|
+
var _a, _b, _c, _d;
|
|
122
|
+
yield this.updateAutotest(Object.assign(Object.assign({}, originAutotest), { externalId: (_a = originAutotest === null || originAutotest === void 0 ? void 0 : originAutotest.externalId) !== null && _a !== void 0 ? _a : autotest.externalId, name: (_b = originAutotest === null || originAutotest === void 0 ? void 0 : originAutotest.name) !== null && _b !== void 0 ? _b : autotest.name, links: autotest.links, externalKey: autotest.externalKey, steps: autotest.steps, setup: autotest.setup, teardown: autotest.teardown, title: autotest.title, description: autotest.description, namespace: (_c = autotest.namespace) !== null && _c !== void 0 ? _c : originAutotest.namespace, classname: (_d = autotest.classname) !== null && _d !== void 0 ? _d : originAutotest.classname, labels: autotest.labels, tags: autotest.tags, workItemIds: autotest.workItemIds, isFlaky: autotest.isFlaky, shouldCreateWorkItem: autotest.shouldCreateWorkItem }));
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
linkToWorkItems(internalId, workItemIds) {
|
|
@@ -353,7 +353,7 @@ class SyncStorageRunner {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
exports.SyncStorageRunner = SyncStorageRunner;
|
|
356
|
-
SyncStorageRunner.VERSION = "v0.3.5";
|
|
356
|
+
SyncStorageRunner.VERSION = "v0.3.5-tms-5.7";
|
|
357
357
|
SyncStorageRunner.STARTUP_TIMEOUT_MS = 30000;
|
|
358
358
|
SyncStorageRunner.STARTUP_POLL_MS = 1000;
|
|
359
359
|
SyncStorageRunner.PROCESS_WARMUP_MS = 2000;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testit-js-commons",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.1-TMS-5.7",
|
|
4
4
|
"description": "JavaScript commons for Test IT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"dotenv": "^16.0.3",
|
|
42
|
-
"testit-api-client": "7.2.6"
|
|
42
|
+
"testit-api-client": "7.2.6-TMS-5.7"
|
|
43
43
|
},
|
|
44
44
|
"files": [
|
|
45
45
|
"lib",
|