testit-js-commons 5.0.6 → 5.0.8-TMS-5.8

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.
Files changed (74) hide show
  1. package/lib/adapters-api/dist/ApiClient.js +5 -6
  2. package/lib/adapters-api/dist/api/AttachmentsApi.js +5 -5
  3. package/lib/adapters-api/dist/api/AutoTestsApi.js +11 -11
  4. package/lib/adapters-api/dist/api/ConfigurationsApi.js +1 -1
  5. package/lib/adapters-api/dist/api/ParametersApi.js +3 -3
  6. package/lib/adapters-api/dist/api/ProjectAttributesApi.js +6 -6
  7. package/lib/adapters-api/dist/api/ProjectSectionsApi.js +1 -1
  8. package/lib/adapters-api/dist/api/ProjectWorkItemsApi.js +1 -1
  9. package/lib/adapters-api/dist/api/ProjectsApi.js +4 -4
  10. package/lib/adapters-api/dist/api/SectionsApi.js +2 -2
  11. package/lib/adapters-api/dist/api/TestResultsApi.js +3 -3
  12. package/lib/adapters-api/dist/api/TestRunsApi.js +8 -8
  13. package/lib/adapters-api/dist/api/WorkItemsApi.js +3 -3
  14. package/lib/adapters-api/dist/api/WorkflowsApi.js +1 -1
  15. package/lib/adapters-api/dist/index.js +3 -80
  16. package/lib/adapters-api/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  17. package/lib/adapters-api/dist/model/AutoTestApiResult.js +0 -15
  18. package/lib/adapters-api/dist/model/AutoTestCreateApiModel.js +0 -15
  19. package/lib/adapters-api/dist/model/AutoTestStepResult.js +1 -1
  20. package/lib/adapters-api/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  21. package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +4 -30
  22. package/lib/adapters-api/dist/model/CreateEmptyTestRunApiModel.js +2 -2
  23. package/lib/adapters-api/dist/model/CustomAttributeApiResult.js +6 -56
  24. package/lib/adapters-api/dist/model/{CustomAttributeModel.js → CustomAttributeGetModel.js} +39 -89
  25. package/lib/adapters-api/dist/model/CustomAttributePutModel.js +1 -1
  26. package/lib/adapters-api/dist/model/LabelApiModel.js +15 -4
  27. package/lib/adapters-api/dist/model/ProjectsFilterModel.js +13 -13
  28. package/lib/adapters-api/dist/model/TestResultResponse.js +4 -18
  29. package/lib/adapters-api/dist/model/TestResultShortResponse.js +4 -15
  30. package/lib/adapters-api/dist/model/TestResultsFilterApiModel.js +0 -14
  31. package/lib/adapters-api/dist/model/TestRunApiResult.js +4 -45
  32. package/lib/adapters-api/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  33. package/lib/adapters-api/index.d.ts +204 -758
  34. package/lib/common/index.d.ts +0 -1
  35. package/lib/common/index.js +0 -1
  36. package/lib/common/types/common.type.d.ts +0 -2
  37. package/lib/common/utils/tms-load-test-run-debug.d.ts +0 -2
  38. package/lib/common/utils/tms-load-test-run-debug.js +0 -6
  39. package/lib/services/attachments/attachments.service.d.ts +1 -0
  40. package/lib/services/attachments/attachments.service.js +10 -2
  41. package/lib/services/autotests/autotests.converter.d.ts +2 -6
  42. package/lib/services/autotests/autotests.converter.js +16 -41
  43. package/lib/services/autotests/autotests.service.js +3 -3
  44. package/lib/services/autotests/autotests.type.d.ts +0 -2
  45. package/lib/services/syncstorage/syncstorage.runner.js +5 -6
  46. package/lib/services/syncstorage/syncstorage.runner.test.js +0 -16
  47. package/lib/services/testresults/testresults.converter.d.ts +5 -4
  48. package/lib/services/testresults/testresults.converter.js +8 -0
  49. package/lib/services/testresults/testresults.service.js +18 -1
  50. package/lib/services/testruns/testruns.handler.d.ts +2 -2
  51. package/lib/services/testruns/testruns.handler.js +2 -12
  52. package/lib/services/testruns/testruns.service.d.ts +0 -2
  53. package/lib/services/testruns/testruns.service.js +6 -31
  54. package/lib/services/testruns/testruns.service.test.js +47 -5
  55. package/lib/strategy/base.strategy.d.ts +11 -0
  56. package/lib/strategy/base.strategy.js +73 -4
  57. package/lib/strategy/zero.strategy.js +1 -1
  58. package/lib/sync-storage/dist/ApiClient.js +0 -3
  59. package/package.json +1 -1
  60. package/lib/adapters-api/dist/api/CustomAttributesApi.js +0 -201
  61. package/lib/adapters-api/dist/model/CustomAttributeOptionPostApiModel.js +0 -98
  62. package/lib/adapters-api/dist/model/CustomAttributeOptionUpdateApiModel.js +0 -124
  63. package/lib/adapters-api/dist/model/CustomAttributeSearchApiModel.js +0 -137
  64. package/lib/adapters-api/dist/model/CustomAttributeSearchApiResult.js +0 -281
  65. package/lib/adapters-api/dist/model/GlobalCustomAttributePostApiModel.js +0 -141
  66. package/lib/adapters-api/dist/model/GlobalCustomAttributeUpdateApiModel.js +0 -129
  67. package/lib/adapters-api/dist/model/LayerApiModel.js +0 -102
  68. package/lib/adapters-api/dist/model/LayerApiResult.js +0 -102
  69. package/lib/adapters-api/dist/model/LayerSource.js +0 -61
  70. package/lib/adapters-api/dist/model/ProjectShortestApiResult.js +0 -138
  71. package/lib/common/test-layers.d.ts +0 -11
  72. package/lib/common/test-layers.js +0 -13
  73. package/lib/services/autotests/autotests.converter.test.d.ts +0 -1
  74. package/lib/services/autotests/autotests.converter.test.js +0 -39
@@ -1,102 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _LayerSource = _interopRequireDefault(require("./LayerSource"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /**
11
- * API
12
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
13
- *
14
- * The version of the OpenAPI document: adapters
15
- *
16
- *
17
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18
- * https://openapi-generator.tech
19
- * Do not edit the class manually.
20
- *
21
- */
22
-
23
- /**
24
- * The LayerApiModel model module.
25
- * @module model/LayerApiModel
26
- * @version 1.0.0
27
- */
28
- class LayerApiModel {
29
- /**
30
- * Constructs a new <code>LayerApiModel</code>.
31
- * Model of auto test layer for use in requests.
32
- * @alias module:model/LayerApiModel
33
- * @param name {String} Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract
34
- * @param source {module:model/LayerSource} Source of the test pyramid layer.
35
- */
36
- constructor(name, source) {
37
- LayerApiModel.initialize(this, name, source);
38
- }
39
-
40
- /**
41
- * Initializes the fields of this object.
42
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
43
- * Only for internal use.
44
- */
45
- static initialize(obj, name, source) {
46
- obj['name'] = name;
47
- obj['source'] = source;
48
- }
49
-
50
- /**
51
- * Constructs a <code>LayerApiModel</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/LayerApiModel} obj Optional instance to populate.
55
- * @return {module:model/LayerApiModel} The populated <code>LayerApiModel</code> instance.
56
- */
57
- static constructFromObject(data, obj) {
58
- if (data) {
59
- obj = obj || new LayerApiModel();
60
- if (data.hasOwnProperty('name')) {
61
- obj['name'] = _ApiClient.default.convertToType(data['name'], 'String');
62
- }
63
- if (data.hasOwnProperty('source')) {
64
- obj['source'] = _ApiClient.default.convertToType(data['source'], _LayerSource.default);
65
- }
66
- }
67
- return obj;
68
- }
69
-
70
- /**
71
- * Validates the JSON data with respect to <code>LayerApiModel</code>.
72
- * @param {Object} data The plain JavaScript object bearing properties of interest.
73
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>LayerApiModel</code>.
74
- */
75
- static validateJSON(data) {
76
- // check to make sure all required properties are present in the JSON string
77
- for (const property of LayerApiModel.RequiredProperties) {
78
- if (!data.hasOwnProperty(property)) {
79
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
80
- }
81
- }
82
- // ensure the json data is a string
83
- if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
84
- throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
85
- }
86
- return true;
87
- }
88
- }
89
- LayerApiModel.RequiredProperties = ["name", "source"];
90
-
91
- /**
92
- * Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract
93
- * @member {String} name
94
- */
95
- LayerApiModel.prototype['name'] = undefined;
96
-
97
- /**
98
- * Source of the test pyramid layer.
99
- * @member {module:model/LayerSource} source
100
- */
101
- LayerApiModel.prototype['source'] = undefined;
102
- var _default = exports.default = LayerApiModel;
@@ -1,102 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _LayerSource = _interopRequireDefault(require("./LayerSource"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /**
11
- * API
12
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
13
- *
14
- * The version of the OpenAPI document: adapters
15
- *
16
- *
17
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18
- * https://openapi-generator.tech
19
- * Do not edit the class manually.
20
- *
21
- */
22
-
23
- /**
24
- * The LayerApiResult model module.
25
- * @module model/LayerApiResult
26
- * @version 1.0.0
27
- */
28
- class LayerApiResult {
29
- /**
30
- * Constructs a new <code>LayerApiResult</code>.
31
- * Model of auto test layer for use in responses.
32
- * @alias module:model/LayerApiResult
33
- * @param name {String} Name of the test pyramid layer.
34
- * @param source {module:model/LayerSource} Source of the test pyramid layer.
35
- */
36
- constructor(name, source) {
37
- LayerApiResult.initialize(this, name, source);
38
- }
39
-
40
- /**
41
- * Initializes the fields of this object.
42
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
43
- * Only for internal use.
44
- */
45
- static initialize(obj, name, source) {
46
- obj['name'] = name;
47
- obj['source'] = source;
48
- }
49
-
50
- /**
51
- * Constructs a <code>LayerApiResult</code> from a plain JavaScript object, optionally creating a new instance.
52
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
- * @param {Object} data The plain JavaScript object bearing properties of interest.
54
- * @param {module:model/LayerApiResult} obj Optional instance to populate.
55
- * @return {module:model/LayerApiResult} The populated <code>LayerApiResult</code> instance.
56
- */
57
- static constructFromObject(data, obj) {
58
- if (data) {
59
- obj = obj || new LayerApiResult();
60
- if (data.hasOwnProperty('name')) {
61
- obj['name'] = _ApiClient.default.convertToType(data['name'], 'String');
62
- }
63
- if (data.hasOwnProperty('source')) {
64
- obj['source'] = _ApiClient.default.convertToType(data['source'], _LayerSource.default);
65
- }
66
- }
67
- return obj;
68
- }
69
-
70
- /**
71
- * Validates the JSON data with respect to <code>LayerApiResult</code>.
72
- * @param {Object} data The plain JavaScript object bearing properties of interest.
73
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>LayerApiResult</code>.
74
- */
75
- static validateJSON(data) {
76
- // check to make sure all required properties are present in the JSON string
77
- for (const property of LayerApiResult.RequiredProperties) {
78
- if (!data.hasOwnProperty(property)) {
79
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
80
- }
81
- }
82
- // ensure the json data is a string
83
- if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
84
- throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
85
- }
86
- return true;
87
- }
88
- }
89
- LayerApiResult.RequiredProperties = ["name", "source"];
90
-
91
- /**
92
- * Name of the test pyramid layer.
93
- * @member {String} name
94
- */
95
- LayerApiResult.prototype['name'] = undefined;
96
-
97
- /**
98
- * Source of the test pyramid layer.
99
- * @member {module:model/LayerSource} source
100
- */
101
- LayerApiResult.prototype['source'] = undefined;
102
- var _default = exports.default = LayerApiResult;
@@ -1,61 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
- /**
10
- * API
11
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
12
- *
13
- * The version of the OpenAPI document: adapters
14
- *
15
- *
16
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
17
- * https://openapi-generator.tech
18
- * Do not edit the class manually.
19
- *
20
- */
21
-
22
- /**
23
- * Enum class LayerSource.
24
- * @enum {}
25
- * @readonly
26
- */
27
- class LayerSource {
28
- /**
29
- * value: "Manual"
30
- * @const
31
- */
32
- "Manual" = "Manual";
33
-
34
- /**
35
- * value: "Report"
36
- * @const
37
- */
38
- "Report" = "Report";
39
-
40
- /**
41
- * value: "Run"
42
- * @const
43
- */
44
- "Run" = "Run";
45
-
46
- /**
47
- * value: "Rule"
48
- * @const
49
- */
50
- "Rule" = "Rule";
51
-
52
- /**
53
- * Returns a <code>LayerSource</code> enum value from a Javascript object name.
54
- * @param {Object} data The plain JavaScript object containing the name of the enum value.
55
- * @return {module:model/LayerSource} The enum <code>LayerSource</code> value.
56
- */
57
- static constructFromObject(object) {
58
- return object;
59
- }
60
- }
61
- exports.default = LayerSource;
@@ -1,138 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- var _ProjectTypeModel = _interopRequireDefault(require("./ProjectTypeModel"));
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
- /**
11
- * API
12
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
13
- *
14
- * The version of the OpenAPI document: adapters
15
- *
16
- *
17
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
18
- * https://openapi-generator.tech
19
- * Do not edit the class manually.
20
- *
21
- */
22
-
23
- /**
24
- * The ProjectShortestApiResult model module.
25
- * @module model/ProjectShortestApiResult
26
- * @version 1.0.0
27
- */
28
- class ProjectShortestApiResult {
29
- /**
30
- * Constructs a new <code>ProjectShortestApiResult</code>.
31
- * @alias module:model/ProjectShortestApiResult
32
- * @param id {String} Unique ID of project
33
- * @param isDeleted {Boolean} Indicates whether the project is deleted
34
- * @param globalId {Number} Global ID of project
35
- * @param name {String} Name of project
36
- * @param type {module:model/ProjectTypeModel} Type of the project
37
- */
38
- constructor(id, isDeleted, globalId, name, type) {
39
- ProjectShortestApiResult.initialize(this, id, isDeleted, globalId, name, type);
40
- }
41
-
42
- /**
43
- * Initializes the fields of this object.
44
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
- * Only for internal use.
46
- */
47
- static initialize(obj, id, isDeleted, globalId, name, type) {
48
- obj['id'] = id;
49
- obj['isDeleted'] = isDeleted;
50
- obj['globalId'] = globalId;
51
- obj['name'] = name;
52
- obj['type'] = type;
53
- }
54
-
55
- /**
56
- * Constructs a <code>ProjectShortestApiResult</code> from a plain JavaScript object, optionally creating a new instance.
57
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
- * @param {Object} data The plain JavaScript object bearing properties of interest.
59
- * @param {module:model/ProjectShortestApiResult} obj Optional instance to populate.
60
- * @return {module:model/ProjectShortestApiResult} The populated <code>ProjectShortestApiResult</code> instance.
61
- */
62
- static constructFromObject(data, obj) {
63
- if (data) {
64
- obj = obj || new ProjectShortestApiResult();
65
- if (data.hasOwnProperty('id')) {
66
- obj['id'] = _ApiClient.default.convertToType(data['id'], 'String');
67
- }
68
- if (data.hasOwnProperty('isDeleted')) {
69
- obj['isDeleted'] = _ApiClient.default.convertToType(data['isDeleted'], 'Boolean');
70
- }
71
- if (data.hasOwnProperty('globalId')) {
72
- obj['globalId'] = _ApiClient.default.convertToType(data['globalId'], 'Number');
73
- }
74
- if (data.hasOwnProperty('name')) {
75
- obj['name'] = _ApiClient.default.convertToType(data['name'], 'String');
76
- }
77
- if (data.hasOwnProperty('type')) {
78
- obj['type'] = _ApiClient.default.convertToType(data['type'], _ProjectTypeModel.default);
79
- }
80
- }
81
- return obj;
82
- }
83
-
84
- /**
85
- * Validates the JSON data with respect to <code>ProjectShortestApiResult</code>.
86
- * @param {Object} data The plain JavaScript object bearing properties of interest.
87
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ProjectShortestApiResult</code>.
88
- */
89
- static validateJSON(data) {
90
- // check to make sure all required properties are present in the JSON string
91
- for (const property of ProjectShortestApiResult.RequiredProperties) {
92
- if (!data.hasOwnProperty(property)) {
93
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
94
- }
95
- }
96
- // ensure the json data is a string
97
- if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
98
- throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
99
- }
100
- // ensure the json data is a string
101
- if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
102
- throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
103
- }
104
- return true;
105
- }
106
- }
107
- ProjectShortestApiResult.RequiredProperties = ["id", "isDeleted", "globalId", "name", "type"];
108
-
109
- /**
110
- * Unique ID of project
111
- * @member {String} id
112
- */
113
- ProjectShortestApiResult.prototype['id'] = undefined;
114
-
115
- /**
116
- * Indicates whether the project is deleted
117
- * @member {Boolean} isDeleted
118
- */
119
- ProjectShortestApiResult.prototype['isDeleted'] = undefined;
120
-
121
- /**
122
- * Global ID of project
123
- * @member {Number} globalId
124
- */
125
- ProjectShortestApiResult.prototype['globalId'] = undefined;
126
-
127
- /**
128
- * Name of project
129
- * @member {String} name
130
- */
131
- ProjectShortestApiResult.prototype['name'] = undefined;
132
-
133
- /**
134
- * Type of the project
135
- * @member {module:model/ProjectTypeModel} type
136
- */
137
- ProjectShortestApiResult.prototype['type'] = undefined;
138
- var _default = exports.default = ProjectShortestApiResult;
@@ -1,11 +0,0 @@
1
- /** Recommended autotest pyramid layer names (not enforced). */
2
- export declare const TestLayers: {
3
- readonly E2E: "E2E";
4
- readonly UI: "UI";
5
- readonly API: "API";
6
- readonly CONTRACT: "Contract";
7
- readonly INTEGRATION: "Integration";
8
- readonly COMPONENT: "Component";
9
- readonly UNIT: "Unit";
10
- };
11
- export type TestLayerName = (typeof TestLayers)[keyof typeof TestLayers] | string;
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TestLayers = void 0;
4
- /** Recommended autotest pyramid layer names (not enforced). */
5
- exports.TestLayers = {
6
- E2E: "E2E",
7
- UI: "UI",
8
- API: "API",
9
- CONTRACT: "Contract",
10
- INTEGRATION: "Integration",
11
- COMPONENT: "Component",
12
- UNIT: "Unit",
13
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,39 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const autotests_converter_1 = require("./autotests.converter");
4
- function makeConfig() {
5
- return {
6
- url: "http://localhost:8080",
7
- privateToken: "token",
8
- projectId: "11111111-1111-1111-1111-111111111111",
9
- configurationId: "22222222-2222-2222-2222-222222222222",
10
- testRunId: "33333333-3333-3333-3333-333333333333",
11
- };
12
- }
13
- function makeAutotest(overrides = {}) {
14
- return Object.assign({ externalId: "ext-1", name: "test name" }, overrides);
15
- }
16
- describe("AutotestConverter layer", () => {
17
- const converter = new autotests_converter_1.AutotestConverter(makeConfig());
18
- it("create: includes layer when set", () => {
19
- const model = converter.toOriginAutotestCreate(makeAutotest({ layer: "API" }));
20
- expect(model.layer).toEqual({ name: "API", source: "Run" });
21
- expect(model.resetLayer).toBeUndefined();
22
- });
23
- it("create: omits layer when not set", () => {
24
- const model = converter.toOriginAutotestCreate(makeAutotest());
25
- expect(model.layer).toBeUndefined();
26
- });
27
- it("create: accepts custom layer string", () => {
28
- const model = converter.toOriginAutotestCreate(makeAutotest({ layer: "my-custom-layer" }));
29
- expect(model.layer).toEqual({ name: "my-custom-layer", source: "Run" });
30
- });
31
- it("update: always resetLayer false, layer only when set", () => {
32
- const withLayer = converter.toOriginAutotestUpdate(makeAutotest({ layer: "E2E" }));
33
- expect(withLayer.resetLayer).toBe(false);
34
- expect(withLayer.layer).toEqual({ name: "E2E", source: "Run" });
35
- const withoutLayer = converter.toOriginAutotestUpdate(makeAutotest());
36
- expect(withoutLayer.resetLayer).toBe(false);
37
- expect(withoutLayer.layer).toBeUndefined();
38
- });
39
- });