complexqa_frontend_core 1.14.3 → 1.14.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complexqa_frontend_core",
3
- "version": "1.14.3",
3
+ "version": "1.14.5",
4
4
  "description": "core of web ",
5
5
  "type": "module",
6
6
  "exports": {
@@ -10,7 +10,7 @@
10
10
  "./publish"
11
11
  ],
12
12
  "scripts": {
13
- "test": "echo \"Error: no test specified\" && exit 1",
13
+ "test": "jest --config ../jest.config.cjs",
14
14
  "build_package": "rollup -c rollup.config.js"
15
15
  },
16
16
  "repository": {
@@ -28,7 +28,6 @@
28
28
  "@babel/plugin-proposal-optional-chaining": "^7.21.0",
29
29
  "@babel/plugin-transform-modules-commonjs": "^7.24.7",
30
30
  "@babel/plugin-transform-runtime": "^7.27.4",
31
- "@babel/preset-env": "^7.24.7",
32
31
  "axios": "^1.13.0",
33
32
  "gulp": "^5.0.0",
34
33
  "gulp-babel": "^8.0.0",
@@ -45,9 +44,13 @@
45
44
  "underscore": "^1.13.6"
46
45
  },
47
46
  "devDependencies": {
47
+ "@babel/core": "^7.29.0",
48
+ "@babel/preset-env": "^7.29.5",
48
49
  "babel": "^6.23.0",
50
+ "babel-jest": "^30.4.1",
49
51
  "babel-plugin-module-resolver-standalone": "^0.0.2",
50
52
  "gulp-uglify": "^3.0.2",
53
+ "jest": "^30.4.2",
51
54
  "requirejs-babel": "^0.0.9",
52
55
  "rollup-plugin-dts": "^6.2.3"
53
56
  }
@@ -178,7 +178,7 @@ export class familyGeneralElement
178
178
  response = {};
179
179
  _.mapObject(this.structure_scheme, (value, attribute) =>
180
180
  {
181
- if (this[ attribute ])
181
+ if (this[ attribute ] !== undefined)
182
182
  {
183
183
  response [ attribute ] = this[ attribute ];
184
184
  }
@@ -43,7 +43,7 @@ export class typeTestCase extends familyTestDocumentation
43
43
  team_id : 'integer | require',
44
44
  assigned_to : 'integer | optional',
45
45
  functional_id : 'integer | optional',
46
- test_case_status : 'string | require',
46
+ test_case_status : 'string | enum | require',
47
47
  test_case_title : 'string | optional',
48
48
  test_case_descriptions : 'string | optional',
49
49
  test_case_time_to_execute: 'integer | optional',
@@ -38,7 +38,7 @@ export class typeTestRun extends familyTestDocumentation
38
38
  test_run_description: 'string | optional',
39
39
  assigned_to : 'integer | optional',
40
40
  test_case_ids : 'array | optional',
41
- test_run_status : 'string | require',
41
+ test_run_status : 'string | enum | require',
42
42
  created_at : 'timestamp | require',
43
43
  updated_at : 'timestamp | optional',
44
44
  completed_at : 'timestamp | optional',