@futdevpro/fsm-dynamo 1.10.36 → 1.10.37

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 (138) hide show
  1. package/build/_collections/utils/array.util.spec.js +34 -34
  2. package/build/_collections/utils/array.util.spec.js.map +1 -1
  3. package/build/_collections/utils/log.util.spec.js +12 -12
  4. package/build/_collections/utils/log.util.spec.js.map +1 -1
  5. package/build/_collections/utils/math/box-bounds.spec.js +11 -11
  6. package/build/_collections/utils/math/box-bounds.spec.js.map +1 -1
  7. package/build/_collections/utils/math/box-bounds.util.spec.js +8 -8
  8. package/build/_collections/utils/math/box-bounds.util.spec.js.map +1 -1
  9. package/build/_collections/utils/math/math.util.spec.js +24 -24
  10. package/build/_collections/utils/math/math.util.spec.js.map +1 -1
  11. package/build/_collections/utils/math/random.util.spec.js +13 -13
  12. package/build/_collections/utils/math/random.util.spec.js.map +1 -1
  13. package/build/_collections/utils/math/trigonometry.util.spec.js +13 -13
  14. package/build/_collections/utils/math/trigonometry.util.spec.js.map +1 -1
  15. package/build/_collections/utils/math/vector2.util.spec.js +14 -14
  16. package/build/_collections/utils/math/vector2.util.spec.js.map +1 -1
  17. package/build/_collections/utils/regex/password-regex.util.spec.js +8 -8
  18. package/build/_collections/utils/regex/password-regex.util.spec.js.map +1 -1
  19. package/build/_collections/utils/regex/regex.util.spec.js +2 -2
  20. package/build/_collections/utils/regex/regex.util.spec.js.map +1 -1
  21. package/build/_collections/utils/regex/username-regex.util.spec.js +3 -3
  22. package/build/_collections/utils/regex/username-regex.util.spec.js.map +1 -1
  23. package/build/_collections/utils/round-list.util.spec.js +20 -20
  24. package/build/_collections/utils/round-list.util.spec.js.map +1 -1
  25. package/build/_collections/utils/shared.util.spec.js +15 -15
  26. package/build/_collections/utils/shared.util.spec.js.map +1 -1
  27. package/build/_collections/utils/string.util.spec.js +9 -9
  28. package/build/_collections/utils/string.util.spec.js.map +1 -1
  29. package/build/_collections/utils/time.util.spec.js +1 -1
  30. package/build/_collections/utils/time.util.spec.js.map +1 -1
  31. package/build/_collections/utils/type-cloning-facility.util.spec.js +5 -5
  32. package/build/_collections/utils/type-cloning-facility.util.spec.js.map +1 -1
  33. package/build/_collections/utils/utilities.util.spec.js +35 -35
  34. package/build/_collections/utils/utilities.util.spec.js.map +1 -1
  35. package/build/_collections/utils/uuid.util.spec.js +6 -6
  36. package/build/_collections/utils/uuid.util.spec.js.map +1 -1
  37. package/build/_models/control-models/data-model-params.control-model.spec.js +6 -6
  38. package/build/_models/control-models/data-model-params.control-model.spec.js.map +1 -1
  39. package/build/_models/control-models/data-property-params.control-model.spec.js +2 -2
  40. package/build/_models/control-models/data-property-params.control-model.spec.js.map +1 -1
  41. package/build/_models/control-models/error.control-model.spec.js +157 -157
  42. package/build/_models/control-models/error.control-model.spec.js.map +1 -1
  43. package/build/_models/control-models/poll.control-model.spec.js +2 -2
  44. package/build/_models/control-models/poll.control-model.spec.js.map +1 -1
  45. package/build/_models/control-models/range-value.control-model.spec.js +27 -27
  46. package/build/_models/control-models/range-value.control-model.spec.js.map +1 -1
  47. package/build/_modules/crypto/_collections/crypto.util.spec.js +31 -31
  48. package/build/_modules/crypto/_collections/crypto.util.spec.js.map +1 -1
  49. package/build/_modules/custom-data/_models/cud.data-model.spec.js +7 -7
  50. package/build/_modules/custom-data/_models/cud.data-model.spec.js.map +1 -1
  51. package/build/_modules/location/_collections/loc-regions.util.spec.js +10 -10
  52. package/build/_modules/location/_collections/loc-regions.util.spec.js.map +1 -1
  53. package/build/_modules/location/_collections/loc.util.spec.js +6 -6
  54. package/build/_modules/location/_collections/loc.util.spec.js.map +1 -1
  55. package/build/_modules/pipe/_collections/utils/pip-country-pipe.util.spec.js +6 -6
  56. package/build/_modules/pipe/_collections/utils/pip-country-pipe.util.spec.js.map +1 -1
  57. package/build/_modules/pipe/_collections/utils/pip-custom-pipe.util.spec.js +6 -6
  58. package/build/_modules/pipe/_collections/utils/pip-custom-pipe.util.spec.js.map +1 -1
  59. package/build/_modules/pipe/_collections/utils/pip-division-pipe.util.spec.js +6 -6
  60. package/build/_modules/pipe/_collections/utils/pip-division-pipe.util.spec.js.map +1 -1
  61. package/build/_modules/pipe/_collections/utils/pip-list-pipe.util.spec.js +6 -6
  62. package/build/_modules/pipe/_collections/utils/pip-list-pipe.util.spec.js.map +1 -1
  63. package/build/_modules/pipe/_collections/utils/pip-multi-pipe-pipe.util.spec.js +8 -8
  64. package/build/_modules/pipe/_collections/utils/pip-multi-pipe-pipe.util.spec.js.map +1 -1
  65. package/build/_modules/pipe/_collections/utils/pip-obj-key-pipe.util.spec.js +5 -5
  66. package/build/_modules/pipe/_collections/utils/pip-obj-key-pipe.util.spec.js.map +1 -1
  67. package/build/_modules/pipe/_collections/utils/pip-range-pipe.util.spec.js +8 -8
  68. package/build/_modules/pipe/_collections/utils/pip-range-pipe.util.spec.js.map +1 -1
  69. package/build/_modules/pipe/_collections/utils/pip-region-pipe.util.spec.js +4 -4
  70. package/build/_modules/pipe/_collections/utils/pip-region-pipe.util.spec.js.map +1 -1
  71. package/build/_modules/pipe/_collections/utils/pip-replace-pipe.util.spec.js +9 -9
  72. package/build/_modules/pipe/_collections/utils/pip-replace-pipe.util.spec.js.map +1 -1
  73. package/build/_modules/pipe/_collections/utils/pip-slider-pipe.util.spec.js +4 -4
  74. package/build/_modules/pipe/_collections/utils/pip-slider-pipe.util.spec.js.map +1 -1
  75. package/build/_modules/pipe/_collections/utils/pip-smart-replace-pipe.util.spec.js +7 -7
  76. package/build/_modules/pipe/_collections/utils/pip-smart-replace-pipe.util.spec.js.map +1 -1
  77. package/build/_modules/socket/_models/sck-client-params.control-model.spec.js +5 -5
  78. package/build/_modules/socket/_models/sck-client-params.control-model.spec.js.map +1 -1
  79. package/build/_modules/socket/_models/sck-socket-event.control-model.spec.js +5 -5
  80. package/build/_modules/socket/_models/sck-socket-event.control-model.spec.js.map +1 -1
  81. package/build/_modules/socket/_services/sck-client.service-base.spec.js +7 -7
  82. package/build/_modules/socket/_services/sck-client.service-base.spec.js.map +1 -1
  83. package/build/_modules/usage/_models/usg-action.control-model.spec.js +4 -4
  84. package/build/_modules/usage/_models/usg-action.control-model.spec.js.map +1 -1
  85. package/build/_modules/usage/_models/usg-daily-usage-data.control-model.spec.js +3 -3
  86. package/build/_modules/usage/_models/usg-daily-usage-data.control-model.spec.js.map +1 -1
  87. package/build/_modules/usage/_models/usg-data.control-model.spec.js +4 -4
  88. package/build/_modules/usage/_models/usg-data.control-model.spec.js.map +1 -1
  89. package/build/_modules/usage/_models/usg-session.data-model.spec.js +7 -7
  90. package/build/_modules/usage/_models/usg-session.data-model.spec.js.map +1 -1
  91. package/futdevpro-fsm-dynamo-01.10.37.tgz +0 -0
  92. package/package.json +1 -1
  93. package/src/_collections/utils/array.util.spec.ts +34 -34
  94. package/src/_collections/utils/log.util.spec.ts +12 -12
  95. package/src/_collections/utils/math/box-bounds.spec.ts +11 -11
  96. package/src/_collections/utils/math/box-bounds.util.spec.ts +8 -8
  97. package/src/_collections/utils/math/math.util.spec.ts +24 -24
  98. package/src/_collections/utils/math/random.util.spec.ts +13 -13
  99. package/src/_collections/utils/math/trigonometry.util.spec.ts +13 -13
  100. package/src/_collections/utils/math/vector2.util.spec.ts +14 -14
  101. package/src/_collections/utils/regex/password-regex.util.spec.ts +8 -8
  102. package/src/_collections/utils/regex/regex.util.spec.ts +2 -2
  103. package/src/_collections/utils/regex/username-regex.util.spec.ts +3 -3
  104. package/src/_collections/utils/round-list.util.spec.ts +20 -20
  105. package/src/_collections/utils/shared.util.spec.ts +15 -15
  106. package/src/_collections/utils/string.util.spec.ts +9 -9
  107. package/src/_collections/utils/time.util.spec.ts +1 -1
  108. package/src/_collections/utils/type-cloning-facility.util.spec.ts +5 -5
  109. package/src/_collections/utils/utilities.util.spec.ts +35 -35
  110. package/src/_collections/utils/uuid.util.spec.ts +6 -6
  111. package/src/_models/control-models/data-model-params.control-model.spec.ts +6 -6
  112. package/src/_models/control-models/data-property-params.control-model.spec.ts +2 -2
  113. package/src/_models/control-models/error.control-model.spec.ts +157 -157
  114. package/src/_models/control-models/poll.control-model.spec.ts +2 -2
  115. package/src/_models/control-models/range-value.control-model.spec.ts +27 -27
  116. package/src/_modules/crypto/_collections/crypto.util.spec.ts +31 -31
  117. package/src/_modules/custom-data/_models/cud.data-model.spec.ts +7 -7
  118. package/src/_modules/location/_collections/loc-regions.util.spec.ts +10 -10
  119. package/src/_modules/location/_collections/loc.util.spec.ts +6 -6
  120. package/src/_modules/pipe/_collections/utils/pip-country-pipe.util.spec.ts +6 -6
  121. package/src/_modules/pipe/_collections/utils/pip-custom-pipe.util.spec.ts +6 -6
  122. package/src/_modules/pipe/_collections/utils/pip-division-pipe.util.spec.ts +6 -6
  123. package/src/_modules/pipe/_collections/utils/pip-list-pipe.util.spec.ts +6 -6
  124. package/src/_modules/pipe/_collections/utils/pip-multi-pipe-pipe.util.spec.ts +8 -8
  125. package/src/_modules/pipe/_collections/utils/pip-obj-key-pipe.util.spec.ts +5 -5
  126. package/src/_modules/pipe/_collections/utils/pip-range-pipe.util.spec.ts +8 -8
  127. package/src/_modules/pipe/_collections/utils/pip-region-pipe.util.spec.ts +4 -4
  128. package/src/_modules/pipe/_collections/utils/pip-replace-pipe.util.spec.ts +9 -9
  129. package/src/_modules/pipe/_collections/utils/pip-slider-pipe.util.spec.ts +4 -4
  130. package/src/_modules/pipe/_collections/utils/pip-smart-replace-pipe.util.spec.ts +7 -7
  131. package/src/_modules/socket/_models/sck-client-params.control-model.spec.ts +5 -5
  132. package/src/_modules/socket/_models/sck-socket-event.control-model.spec.ts +5 -5
  133. package/src/_modules/socket/_services/sck-client.service-base.spec.ts +7 -7
  134. package/src/_modules/usage/_models/usg-action.control-model.spec.ts +4 -4
  135. package/src/_modules/usage/_models/usg-daily-usage-data.control-model.spec.ts +3 -3
  136. package/src/_modules/usage/_models/usg-data.control-model.spec.ts +4 -4
  137. package/src/_modules/usage/_models/usg-session.data-model.spec.ts +7 -7
  138. package/futdevpro-fsm-dynamo-01.10.36.tgz +0 -0
@@ -2,25 +2,25 @@
2
2
  import { of } from 'rxjs';
3
3
  import { DyFM_clone, DyFM_deepClone, DyFM_delay, DyFM_JSONListify, DyFM_orderedSameObject, DyFM_orderedSameObject2, DyFM_sameObjects, DyFM_sameObjectSurface, DyFM_setExistingValuesOnly, DyFM_sortForTrue, DyFM_surfaceClone, DyFM_takeUntil, DyFM_waitUntil, DyFM_waitUntilAsync } from './utilities.util';
4
4
 
5
- describe('Utilities', () => {
5
+ describe('| Utilities', () => {
6
6
 
7
- describe('DyFM_clone', () => {
8
- it('should clone a simple object', () => {
7
+ describe('| DyFM_clone', () => {
8
+ it('| should clone a simple object', () => {
9
9
  const obj = { a: 1, b: 2 };
10
10
  const clonedObj = DyFM_clone(obj);
11
11
  expect(clonedObj).toEqual(obj);
12
12
  expect(clonedObj).not.toBe(obj);
13
13
  });
14
14
 
15
- it('should return the same value for non-object types', () => {
15
+ it('| should return the same value for non-object types', () => {
16
16
  expect(DyFM_clone(null)).toBeNull();
17
17
  expect(DyFM_clone(undefined)).toBeUndefined();
18
18
  expect(DyFM_clone(42)).toBe(42);
19
19
  });
20
20
  });
21
21
 
22
- describe('DyFM_surfaceClone', () => {
23
- it('should perform a shallow clone of an object', () => {
22
+ describe('| DyFM_surfaceClone', () => {
23
+ it('| should perform a shallow clone of an object', () => {
24
24
  const obj = { a: 1, b: { c: 3 } };
25
25
  const clonedObj = DyFM_surfaceClone(obj);
26
26
  expect(clonedObj).toEqual(obj);
@@ -29,8 +29,8 @@ describe('Utilities', () => {
29
29
  });
30
30
  });
31
31
 
32
- describe('DyFM_deepClone', () => {
33
- it('should perform a deep clone of an object', () => {
32
+ describe('| DyFM_deepClone', () => {
33
+ it('| should perform a deep clone of an object', () => {
34
34
  const obj = { a: 1, b: { c: 3 } };
35
35
  const clonedObj = DyFM_deepClone(obj);
36
36
  expect(clonedObj).toEqual(obj);
@@ -39,22 +39,22 @@ describe('Utilities', () => {
39
39
  });
40
40
  });
41
41
 
42
- describe('DyFM_sameObjects', () => {
43
- it('should return true for identical objects', () => {
42
+ describe('| DyFM_sameObjects', () => {
43
+ it('| should return true for identical objects', () => {
44
44
  const objA = { a: 1, b: 2 };
45
45
  const objB = { a: 1, b: 2 };
46
46
  expect(DyFM_sameObjects(objA, objB)).toBeTrue();
47
47
  });
48
48
 
49
- it('should return false for different objects', () => {
49
+ it('| should return false for different objects', () => {
50
50
  const objA = { a: 1, b: 2 };
51
51
  const objB = { a: 1, b: 3 };
52
52
  expect(DyFM_sameObjects(objA, objB)).toBeFalse();
53
53
  });
54
54
  });
55
55
 
56
- describe('DyFM_orderedSameObject', () => {
57
- it('should return true for objects with same keys and values', () => {
56
+ describe('| DyFM_orderedSameObject', () => {
57
+ it('| should return true for objects with same keys and values', () => {
58
58
  const objA = { a: 1, b: 2 };
59
59
  const objB = { b: 2, a: 1 };
60
60
  expect(DyFM_orderedSameObject(objA, objB)).toBeTrue();
@@ -67,36 +67,36 @@ describe('Utilities', () => {
67
67
  });
68
68
  });
69
69
 
70
- describe('DyFM_orderedSameObject2', () => {
71
- it('should return true for objects with same keys and values', () => {
70
+ describe('| DyFM_orderedSameObject2', () => {
71
+ it('| should return true for objects with same keys and values', () => {
72
72
  const objA = { a: 1, b: 2 };
73
73
  const objB = { b: 2, a: 1 };
74
74
  expect(DyFM_orderedSameObject2(objA, objB)).toBeTrue();
75
75
  });
76
76
 
77
- it('should return false for objects with different keys or values', () => {
77
+ it('| should return false for objects with different keys or values', () => {
78
78
  const objA = { a: 1, b: 2 };
79
79
  const objB = { a: 1, b: 3 };
80
80
  expect(DyFM_orderedSameObject2(objA, objB)).toBeFalse();
81
81
  });
82
82
  });
83
83
 
84
- describe('DyFM_sameObjectSurface', () => {
85
- it('should return true for objects with same surface values', () => {
84
+ describe('| DyFM_sameObjectSurface', () => {
85
+ it('| should return true for objects with same surface values', () => {
86
86
  const objA = { a: 1, b: 2 };
87
87
  const objB = { a: 1, b: 2 };
88
88
  expect(DyFM_sameObjectSurface(objA, objB)).toBeTrue();
89
89
  });
90
90
 
91
- it('should return false for objects with different surface values', () => {
91
+ it('| should return false for objects with different surface values', () => {
92
92
  const objA = { a: 1, b: 2 };
93
93
  const objB = { a: 1, b: 3 };
94
94
  expect(DyFM_sameObjectSurface(objA, objB)).toBeFalse();
95
95
  });
96
96
  });
97
97
 
98
- xdescribe('DyFM_setExistingValuesOnly', () => {
99
- it('should set values only if they exist in the target object', () => {
98
+ xdescribe('| DyFM_setExistingValuesOnly', () => {
99
+ it('| should set values only if they exist in the target object', () => {
100
100
  const setOn = { a: 1, b: 2 };
101
101
  const setTo = { a: 3, c: 4 };
102
102
  DyFM_setExistingValuesOnly(setOn, setTo);
@@ -104,8 +104,8 @@ describe('Utilities', () => {
104
104
  });
105
105
  });
106
106
 
107
- describe('DyFM_delay', () => {
108
- it('should resolve after a specified delay', async () => {
107
+ describe('| DyFM_delay', () => {
108
+ it('| should resolve after a specified delay', async () => {
109
109
  const start = Date.now();
110
110
  await DyFM_delay(100);
111
111
  const end = Date.now();
@@ -113,50 +113,50 @@ describe('Utilities', () => {
113
113
  });
114
114
  });
115
115
 
116
- describe('DyFM_waitUntil', () => {
117
- it('should resolve when the check function returns true', async () => {
116
+ describe('| DyFM_waitUntil', () => {
117
+ it('| should resolve when the check function returns true', async () => {
118
118
  let condition = false;
119
119
  setTimeout(() => condition = true, 100);
120
120
  await DyFM_waitUntil(() => condition, 50, 500);
121
121
  expect(condition).toBeTrue();
122
122
  });
123
123
 
124
- it('should reject if the timeout is reached', async () => {
124
+ it('| should reject if the timeout is reached', async () => {
125
125
  await expectAsync(DyFM_waitUntil(() => false, 50, 100)).toBeRejectedWith('timeout');
126
126
  });
127
127
  });
128
128
 
129
- describe('DyFM_waitUntilAsync', () => {
130
- it('should resolve when the async check function returns true', async () => {
129
+ describe('| DyFM_waitUntilAsync', () => {
130
+ it('| should resolve when the async check function returns true', async () => {
131
131
  let condition = false;
132
132
  setTimeout(() => condition = true, 100);
133
133
  await DyFM_waitUntilAsync(async () => condition, 50, 500);
134
134
  expect(condition).toBeTrue();
135
135
  });
136
136
 
137
- it('should reject if the timeout is reached', async () => {
137
+ it('| should reject if the timeout is reached', async () => {
138
138
  await expectAsync(DyFM_waitUntilAsync(async () => false, 50, 100)).toBeRejectedWith('timeout');
139
139
  });
140
140
  });
141
141
 
142
- xdescribe('DyFM_takeUntil', () => {
143
- it('should resolve when the observable emits a value that passes the check', async () => {
142
+ xdescribe('| DyFM_takeUntil', () => {
143
+ it('| should resolve when the observable emits a value that passes the check', async () => {
144
144
  const observable = of(1, 2, 3);
145
145
  const result = await DyFM_takeUntil(observable, value => value === 2);
146
146
  expect(result).toBe(2);
147
147
  });
148
148
  });
149
149
 
150
- describe('DyFM_sortForTrue', () => {
151
- it('should sort items based on the check function', () => {
150
+ describe('| DyFM_sortForTrue', () => {
151
+ it('| should sort items based on the check function', () => {
152
152
  const items = [{ value: true }, { value: false }];
153
153
  items.sort((a, b) => DyFM_sortForTrue(a, b, item => item.value));
154
154
  expect(items).toEqual([{ value: true }, { value: false }]);
155
155
  });
156
156
  });
157
157
 
158
- describe('DyFM_JSONListify', () => {
159
- it('should convert a JSON list to an array', () => {
158
+ describe('| DyFM_JSONListify', () => {
159
+ it('| should convert a JSON list to an array', () => {
160
160
  const JSONList = { 0: 'a', 1: 'b', 2: 'c' };
161
161
  const result = DyFM_JSONListify<string>(JSONList);
162
162
  expect(result).toEqual(['a', 'b', 'c']);
@@ -2,27 +2,27 @@
2
2
  import { DyFM_UUID } from './uuid.util';
3
3
  import * as UUID from 'uuid';
4
4
 
5
- describe('DyFM_UUID', () => {
6
- describe('generate', () => {
7
- it('should generate a UUID', () => {
5
+ describe('| DyFM_UUID', () => {
6
+ describe('| generate', () => {
7
+ it('| should generate a UUID', () => {
8
8
  const uuid = DyFM_UUID.generate();
9
9
  expect(UUID.validate(uuid)).toBeTrue();
10
10
  });
11
11
 
12
- it('should generate a unique UUID not in the reserved list', () => {
12
+ it('| should generate a unique UUID not in the reserved list', () => {
13
13
  const reserved = ['123e4567-e89b-12d3-a456-426614174000'];
14
14
  const uuid = DyFM_UUID.generate(reserved);
15
15
  expect(reserved.includes(uuid)).toBeFalse();
16
16
  expect(UUID.validate(uuid)).toBeTrue();
17
17
  });
18
18
 
19
- it('should generate a UUID even if reserved list is empty', () => {
19
+ it('| should generate a UUID even if reserved list is empty', () => {
20
20
  const reserved: string[] = [];
21
21
  const uuid = DyFM_UUID.generate(reserved);
22
22
  expect(UUID.validate(uuid)).toBeTrue();
23
23
  });
24
24
 
25
- it('should generate a UUID when reserved list is undefined', () => {
25
+ it('| should generate a UUID when reserved list is undefined', () => {
26
26
  const uuid = DyFM_UUID.generate(undefined);
27
27
  expect(UUID.validate(uuid)).toBeTrue();
28
28
  });
@@ -4,7 +4,7 @@ import { DyFM_Metadata } from '../data-models/metadata.data-model';
4
4
  import { DyFM_DataModel_Params, DyFM_DataModel_Settings } from './data-model-params.control-model';
5
5
  import { DyFM_DataProperties } from './data-property-params.control-model';
6
6
 
7
- describe('DyFM_DataModel_Params', () => {
7
+ describe('| DyFM_DataModel_Params', () => {
8
8
  class MockMetadata extends DyFM_Metadata {
9
9
  // Mock implementation of DyFM_Metadata if needed
10
10
  }
@@ -18,13 +18,13 @@ describe('DyFM_DataModel_Params', () => {
18
18
  };
19
19
  });
20
20
 
21
- it('should create an instance with the provided settings', () => {
21
+ it('| should create an instance with the provided settings', () => {
22
22
  const params = new DyFM_DataModel_Params(mockSettings);
23
23
  expect(params.dataName).toBe('test_model');
24
24
  expect(params.properties).toEqual({});
25
25
  });
26
26
 
27
- it('should log an error if properties are missing or not an object', () => {
27
+ it('| should log an error if properties are missing or not an object', () => {
28
28
  spyOn(DyFM_Log, 'error');
29
29
  mockSettings.properties = null as any;
30
30
  const params = new DyFM_DataModel_Params(mockSettings);
@@ -35,7 +35,7 @@ describe('DyFM_DataModel_Params', () => {
35
35
  expect(params.properties).toEqual({});
36
36
  });
37
37
 
38
- it('should log an error if a property key is missing', () => {
38
+ it('| should log an error if a property key is missing', () => {
39
39
  spyOn(DyFM_Log, 'error');
40
40
  mockSettings.properties = { '': { key: '' } } as any;
41
41
  const params = new DyFM_DataModel_Params(mockSettings);
@@ -45,12 +45,12 @@ describe('DyFM_DataModel_Params', () => {
45
45
  );
46
46
  });
47
47
 
48
- it('should set modelType to data if not provided or is data', () => {
48
+ it('| should set modelType to data if not provided or is data', () => {
49
49
  const params = new DyFM_DataModel_Params(mockSettings);
50
50
  expect(params.modelType).toBe(DyFM_DataModel_Type.data);
51
51
  });
52
52
 
53
- it('should return true for constructed method', () => {
53
+ it('| should return true for constructed method', () => {
54
54
  const params = new DyFM_DataModel_Params(mockSettings);
55
55
  expect(params.constructed()).toBeTrue();
56
56
  });
@@ -2,8 +2,8 @@ import { DyFM_Log } from '../../_collections/utils/log.util';
2
2
  import { DyFM_BasicProperty_Type } from '../../_enums/basic-property-type.enum';
3
3
  import { DyFM_DataProperty_Params, DyFM_DataProperty_Settings } from './data-property-params.control-model';
4
4
 
5
- describe('DyFM_DataProperty_Params', () => {
6
- it('should create an instance with given settings', () => {
5
+ describe('| DyFM_DataProperty_Params', () => {
6
+ it('| should create an instance with given settings', () => {
7
7
  const settings: DyFM_DataProperty_Settings<string> = {
8
8
  key: 'testKey',
9
9
  type: DyFM_BasicProperty_Type.string,