@datagrok/compute 1.44.6 → 1.45.1
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 -2
- package/CREDITS.md +41 -0
- package/README.md +5 -7
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +12 -8
- package/scripts/complexInputs.js +13 -0
- package/scripts/globalValidationTest.js +11 -0
- package/scripts/lorenz-attractor.js +1 -1
- package/scripts/simpleInputs.js +16 -0
- package/scripts/simpleInputsDefaultValues.js +15 -0
- package/scripts/validationTest.js +11 -0
- package/src/package-api.ts +17 -27
- package/src/package-test.ts +4 -1
- package/src/package.g.ts +31 -53
- package/src/package.ts +83 -147
- package/src/tests/rich-function-view-direct-tests.ts +403 -0
- package/src/tests/rich-function-view-tests.ts +512 -0
- package/src/tests/snapshots/fc1.json +1 -0
- package/src/tests/utils.ts +8 -0
- package/tsconfig.json +1 -0
- package/dist/148.js +0 -2
- package/dist/148.js.map +0 -1
- package/dist/377.js +0 -2
- package/dist/377.js.map +0 -1
- package/dist/508.js +0 -2
- package/dist/508.js.map +0 -1
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import * as DG from 'datagrok-api/dg';
|
|
2
|
+
import {category, test, before, delay} from '@datagrok-libraries/test/src/test';
|
|
3
|
+
import {RichFunctionView} from '@datagrok-libraries/compute-utils';
|
|
4
|
+
import {take, filter} from 'rxjs/operators';
|
|
5
|
+
import {applyTransformations} from '@datagrok-libraries/utils/src/json-serialization';
|
|
6
|
+
import {getFuncCallIO} from './utils';
|
|
7
|
+
import {expectDeepEqual} from '@datagrok-libraries/utils/src/expect';
|
|
8
|
+
import {InputVariants} from '@datagrok-libraries/compute-utils/old-views/src/rich-function-view';
|
|
9
|
+
import fc1 from './snapshots/fc1.json';
|
|
10
|
+
|
|
11
|
+
category('Compute: RichFunctionView Inputs', async () => {
|
|
12
|
+
before(async () => {
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
test('Simple inputs setParamValue', async () => {
|
|
16
|
+
const view = new RichFunctionView('Compute:simpleInputs', {historyEnabled: false, isTabbed: false});
|
|
17
|
+
const inputValues: Record<string, any> = {
|
|
18
|
+
a: 1,
|
|
19
|
+
b: 2.2,
|
|
20
|
+
c: 'test',
|
|
21
|
+
};
|
|
22
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
23
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
24
|
+
inputsMap[prop.name] = input;
|
|
25
|
+
});
|
|
26
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
27
|
+
view.funcCall.setParamValue('a', 1);
|
|
28
|
+
view.funcCall.setParamValue('b', 2.2);
|
|
29
|
+
view.funcCall.setParamValue('c', 'test');
|
|
30
|
+
await view.doRun();
|
|
31
|
+
const expected = {
|
|
32
|
+
'inputs': [
|
|
33
|
+
['a', 1],
|
|
34
|
+
['b', 2.2],
|
|
35
|
+
['c', 'test'],
|
|
36
|
+
],
|
|
37
|
+
'outputs': [
|
|
38
|
+
['aout', 1],
|
|
39
|
+
['bout', 2.2],
|
|
40
|
+
['cout', 'test'],
|
|
41
|
+
],
|
|
42
|
+
};
|
|
43
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), expected, {prefix: 'funcCall'});
|
|
44
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), expected, {prefix: 'lastCall'});
|
|
45
|
+
for (const [name, val] of Object.entries(inputValues))
|
|
46
|
+
expectDeepEqual(inputsMap[name].value, val, {prefix: `input ${name}`});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
test('Simple inputs inputs tweak', async () => {
|
|
50
|
+
const view = new RichFunctionView('Compute:simpleInputs', {historyEnabled: false, isTabbed: false});
|
|
51
|
+
const inputValues: Record<string, any> = {
|
|
52
|
+
a: 1,
|
|
53
|
+
b: 2.2,
|
|
54
|
+
c: 'test',
|
|
55
|
+
};
|
|
56
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
57
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
58
|
+
inputsMap[prop.name] = input;
|
|
59
|
+
});
|
|
60
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
61
|
+
await delay(100);
|
|
62
|
+
for (const [name, input] of Object.entries(inputsMap)) {
|
|
63
|
+
input.value = inputValues[name];
|
|
64
|
+
const element = (input as any).input;
|
|
65
|
+
element.dispatchEvent(new Event('input', {bubbles: true}));
|
|
66
|
+
}
|
|
67
|
+
await delay(300);
|
|
68
|
+
await view.doRun();
|
|
69
|
+
const expected = {
|
|
70
|
+
'inputs': [
|
|
71
|
+
['a', 1],
|
|
72
|
+
['b', 2.2],
|
|
73
|
+
['c', 'test'],
|
|
74
|
+
],
|
|
75
|
+
'outputs': [
|
|
76
|
+
['aout', 1],
|
|
77
|
+
['bout', 2.2],
|
|
78
|
+
['cout', 'test'],
|
|
79
|
+
],
|
|
80
|
+
};
|
|
81
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), expected, {prefix: 'funcCall'});
|
|
82
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), expected, {prefix: 'lastCall'});
|
|
83
|
+
});
|
|
84
|
+
|
|
85
|
+
test('Simple inputs setParamValue rerun', async () => {
|
|
86
|
+
const view = new RichFunctionView('Compute:simpleInputsDefaultValues', {historyEnabled: false, isTabbed: false});
|
|
87
|
+
const inputValues: Record<string, any> = {
|
|
88
|
+
a: 2,
|
|
89
|
+
b: 3.2,
|
|
90
|
+
c: 'test2',
|
|
91
|
+
};
|
|
92
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
93
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
94
|
+
inputsMap[prop.name] = input;
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
98
|
+
await delay(100);
|
|
99
|
+
await view.doRun();
|
|
100
|
+
view.funcCall.setParamValue('a', 2);
|
|
101
|
+
view.funcCall.setParamValue('b', 3.2);
|
|
102
|
+
view.funcCall.setParamValue('c', 'test2');
|
|
103
|
+
await view.doRun();
|
|
104
|
+
const expected = {
|
|
105
|
+
'inputs': [
|
|
106
|
+
['a', 2],
|
|
107
|
+
['b', 3.2],
|
|
108
|
+
['c', 'test2'],
|
|
109
|
+
],
|
|
110
|
+
'outputs': [
|
|
111
|
+
['aout', 2],
|
|
112
|
+
['bout', 3.2],
|
|
113
|
+
['cout', 'test2'],
|
|
114
|
+
],
|
|
115
|
+
};
|
|
116
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), expected, {prefix: 'funcCall'});
|
|
117
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), expected, {prefix: 'lastCall'});
|
|
118
|
+
for (const [name, val] of Object.entries(inputValues))
|
|
119
|
+
expectDeepEqual(inputsMap[name].value, val, {prefix: `input ${name}`});
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
test('Simple inputs inputs tweak rerun', async () => {
|
|
123
|
+
const view = new RichFunctionView('Compute:simpleInputsDefaultValues', {historyEnabled: false, isTabbed: false});
|
|
124
|
+
const inputValues: Record<string, any> = {
|
|
125
|
+
a: 2,
|
|
126
|
+
b: 3.2,
|
|
127
|
+
c: 'test2',
|
|
128
|
+
};
|
|
129
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
130
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
131
|
+
inputsMap[prop.name] = input;
|
|
132
|
+
});
|
|
133
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
134
|
+
await delay(100);
|
|
135
|
+
await view.doRun();
|
|
136
|
+
await delay(100);
|
|
137
|
+
for (const [name, input] of Object.entries(inputsMap)) {
|
|
138
|
+
input.value = inputValues[name];
|
|
139
|
+
const element = (input as any).input;
|
|
140
|
+
element.dispatchEvent(new Event('input', {bubbles: true}));
|
|
141
|
+
}
|
|
142
|
+
await delay(300);
|
|
143
|
+
await view.doRun();
|
|
144
|
+
const expected = {
|
|
145
|
+
'inputs': [
|
|
146
|
+
['a', 2],
|
|
147
|
+
['b', 3.2],
|
|
148
|
+
['c', 'test2'],
|
|
149
|
+
],
|
|
150
|
+
'outputs': [
|
|
151
|
+
['aout', 2],
|
|
152
|
+
['bout', 3.2],
|
|
153
|
+
['cout', 'test2'],
|
|
154
|
+
],
|
|
155
|
+
};
|
|
156
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), expected, {prefix: 'funcCall'});
|
|
157
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), expected, {prefix: 'lastCall'});
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
test('Simple inputs default values', async () => {
|
|
161
|
+
const view = new RichFunctionView('Compute:simpleInputsDefaultValues', {historyEnabled: false, isTabbed: false});
|
|
162
|
+
|
|
163
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
164
|
+
await delay(100);
|
|
165
|
+
const expected = {
|
|
166
|
+
'inputs': [
|
|
167
|
+
['a', 1],
|
|
168
|
+
['b', 2.2],
|
|
169
|
+
['c', 'test'],
|
|
170
|
+
],
|
|
171
|
+
};
|
|
172
|
+
expectDeepEqual(getFuncCallIO(view.funcCall).inputs, expected.inputs);
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
test('Complex inputs setParamValue', async () => {
|
|
176
|
+
const view = new RichFunctionView('Compute:complexInputs', {historyEnabled: false, isTabbed: false});
|
|
177
|
+
const inputValues: Record<string, any> = {
|
|
178
|
+
df: DG.DataFrame.fromColumns([
|
|
179
|
+
DG.Column.fromList('double', 'col', [1.1, 2.2, 3.3]),
|
|
180
|
+
]),
|
|
181
|
+
data: JSON.stringify({a: 1, b: 'test'}),
|
|
182
|
+
};
|
|
183
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
184
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
185
|
+
inputsMap[prop.name] = input;
|
|
186
|
+
});
|
|
187
|
+
view.funcCall.setParamValue('df', inputValues['df']);
|
|
188
|
+
view.funcCall.setParamValue('data', inputValues['data']);
|
|
189
|
+
await view.doRun();
|
|
190
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), applyTransformations(fc1), {prefix: 'funcCall'});
|
|
191
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), applyTransformations(fc1), {prefix: 'lastCall'});
|
|
192
|
+
expectDeepEqual(inputsMap.data.value, inputValues.data, {prefix: 'data'});
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
test('Complex inputs inputs tweak', async () => {
|
|
196
|
+
const view = new RichFunctionView('Compute:complexInputs', {historyEnabled: false, isTabbed: false});
|
|
197
|
+
const inputValues: Record<string, any> = {
|
|
198
|
+
df: DG.DataFrame.fromColumns([
|
|
199
|
+
DG.Column.fromList('double', 'col', [1.1, 2.2, 3.3]),
|
|
200
|
+
]),
|
|
201
|
+
data: JSON.stringify({a: 1, b: 'test'}),
|
|
202
|
+
};
|
|
203
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
204
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
205
|
+
inputsMap[prop.name] = input;
|
|
206
|
+
});
|
|
207
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
208
|
+
await delay(100);
|
|
209
|
+
inputsMap['data'].value = inputValues['data'];
|
|
210
|
+
view.funcCall.setParamValue('df', inputValues['df']);
|
|
211
|
+
await delay(300);
|
|
212
|
+
await view.doRun();
|
|
213
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), applyTransformations(fc1), {prefix: 'funcCall'});
|
|
214
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), applyTransformations(fc1), {prefix: 'lastCall'});
|
|
215
|
+
expectDeepEqual(inputsMap.data.value, inputValues.data, {prefix: 'data'});
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
test('Complex inputs setParamValue rerun', async () => {
|
|
219
|
+
const view = new RichFunctionView('Compute:complexInputs', {historyEnabled: false, isTabbed: false});
|
|
220
|
+
const inputValuesPre: Record<string, any> = {
|
|
221
|
+
df: DG.DataFrame.fromColumns([
|
|
222
|
+
DG.Column.fromList('double', 'col', [11.1, 12.2, 13.3]),
|
|
223
|
+
]),
|
|
224
|
+
data: JSON.stringify({a: 2, b: 'pretest'}),
|
|
225
|
+
};
|
|
226
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
227
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
228
|
+
inputsMap[prop.name] = input;
|
|
229
|
+
});
|
|
230
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
231
|
+
view.funcCall.setParamValue('df', inputValuesPre['df']);
|
|
232
|
+
view.funcCall.setParamValue('data', inputValuesPre['data']);
|
|
233
|
+
await view.doRun();
|
|
234
|
+
const inputValues: Record<string, any> = {
|
|
235
|
+
df: DG.DataFrame.fromColumns([
|
|
236
|
+
DG.Column.fromList('double', 'col', [1.1, 2.2, 3.3]),
|
|
237
|
+
]),
|
|
238
|
+
data: JSON.stringify({a: 1, b: 'test'}),
|
|
239
|
+
};
|
|
240
|
+
view.funcCall.setParamValue('df', inputValues['df']);
|
|
241
|
+
view.funcCall.setParamValue('data', inputValues['data']);
|
|
242
|
+
await view.doRun();
|
|
243
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), applyTransformations(fc1), {prefix: 'funcCall'});
|
|
244
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), applyTransformations(fc1), {prefix: 'lastCall'});
|
|
245
|
+
expectDeepEqual(inputsMap.data.value, inputValues.data, {prefix: 'data'});
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
test('Complex inputs inputs tweak rerun', async () => {
|
|
249
|
+
const view = new RichFunctionView('Compute:complexInputs', {historyEnabled: false, isTabbed: false});
|
|
250
|
+
const inputValuesPre: Record<string, any> = {
|
|
251
|
+
df: DG.DataFrame.fromColumns([
|
|
252
|
+
DG.Column.fromList('double', 'col', [11.1, 12.2, 13.3]),
|
|
253
|
+
]),
|
|
254
|
+
data: JSON.stringify({a: 2, b: 'pretest'}),
|
|
255
|
+
};
|
|
256
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
257
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
258
|
+
inputsMap[prop.name] = input;
|
|
259
|
+
});
|
|
260
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
261
|
+
await delay(100);
|
|
262
|
+
inputsMap['data'].value = inputValuesPre['data'];
|
|
263
|
+
view.funcCall.setParamValue('df', inputValuesPre['df']);
|
|
264
|
+
await delay(300);
|
|
265
|
+
await view.doRun();
|
|
266
|
+
const inputValues: Record<string, any> = {
|
|
267
|
+
df: DG.DataFrame.fromColumns([
|
|
268
|
+
DG.Column.fromList('double', 'col', [1.1, 2.2, 3.3]),
|
|
269
|
+
]),
|
|
270
|
+
data: JSON.stringify({a: 1, b: 'test'}),
|
|
271
|
+
};
|
|
272
|
+
inputsMap['data'].value = inputValues['data'];
|
|
273
|
+
view.funcCall.setParamValue('df', inputValues['df']);
|
|
274
|
+
await delay(300);
|
|
275
|
+
await view.doRun();
|
|
276
|
+
expectDeepEqual(getFuncCallIO(view.funcCall), applyTransformations(fc1), {prefix: 'funcCall'});
|
|
277
|
+
expectDeepEqual(getFuncCallIO(view.lastCall!), applyTransformations(fc1), {prefix: 'lastCall'});
|
|
278
|
+
expectDeepEqual(inputsMap.data.value, inputValues.data, {prefix: 'data'});
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
category('Compute: RichFunctionView Validation', async () => {
|
|
283
|
+
before(async () => {
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
test('Validate on start', async () => {
|
|
287
|
+
const view = new RichFunctionView('Compute:validationTest', {historyEnabled: false, isTabbed: false});
|
|
288
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
289
|
+
await delay(1500);
|
|
290
|
+
const results = view.getValidationState();
|
|
291
|
+
expectDeepEqual(
|
|
292
|
+
results,
|
|
293
|
+
{
|
|
294
|
+
'a': {
|
|
295
|
+
'errors': [
|
|
296
|
+
{'description': 'Missing value'},
|
|
297
|
+
{'description': 'Out of range [1, 10] value: null'},
|
|
298
|
+
],
|
|
299
|
+
'warnings': [],
|
|
300
|
+
'notifications': [],
|
|
301
|
+
'revalidate': [],
|
|
302
|
+
'context': {},
|
|
303
|
+
},
|
|
304
|
+
'b': {
|
|
305
|
+
'errors': [
|
|
306
|
+
{'description': 'Missing value'},
|
|
307
|
+
{'description': 'Out of range [20, 100] value: null'},
|
|
308
|
+
],
|
|
309
|
+
'warnings': [],
|
|
310
|
+
'notifications': [],
|
|
311
|
+
'revalidate': [],
|
|
312
|
+
'context': {},
|
|
313
|
+
},
|
|
314
|
+
'x': {
|
|
315
|
+
'errors': [],
|
|
316
|
+
'warnings': [
|
|
317
|
+
{'description': 'Try non-null value'},
|
|
318
|
+
],
|
|
319
|
+
'notifications': [],
|
|
320
|
+
'revalidate': [],
|
|
321
|
+
'context': {},
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
);
|
|
325
|
+
});
|
|
326
|
+
|
|
327
|
+
test('Validate on input', async () => {
|
|
328
|
+
const view = new RichFunctionView('Compute:validationTest', {historyEnabled: false, isTabbed: false});
|
|
329
|
+
const inputValues: Record<string, any> = {
|
|
330
|
+
a: 2.3,
|
|
331
|
+
b: 3.2,
|
|
332
|
+
x: -1,
|
|
333
|
+
};
|
|
334
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
335
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
336
|
+
inputsMap[prop.name] = input;
|
|
337
|
+
});
|
|
338
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
339
|
+
await delay(1500);
|
|
340
|
+
for (const [name, input] of Object.entries(inputsMap)) {
|
|
341
|
+
input.value = inputValues[name];
|
|
342
|
+
const element = (input as any).input;
|
|
343
|
+
element.dispatchEvent(new Event('input', {bubbles: true}));
|
|
344
|
+
}
|
|
345
|
+
await delay(400);
|
|
346
|
+
|
|
347
|
+
const results = view.getValidationState();
|
|
348
|
+
expectDeepEqual(
|
|
349
|
+
results,
|
|
350
|
+
{
|
|
351
|
+
'b': {
|
|
352
|
+
'errors': [
|
|
353
|
+
{'description': 'Out of range [20, 100] value: 3.2'},
|
|
354
|
+
],
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
);
|
|
358
|
+
});
|
|
359
|
+
|
|
360
|
+
test('Revalidation sequence', async () => {
|
|
361
|
+
const view = new RichFunctionView('Compute:globalValidationTest', {historyEnabled: false, isTabbed: false});
|
|
362
|
+
const inputValues: Record<string, any> = {
|
|
363
|
+
a: 30,
|
|
364
|
+
b: 40,
|
|
365
|
+
c: 50,
|
|
366
|
+
};
|
|
367
|
+
const inputsMap: Record<string, InputVariants> = {};
|
|
368
|
+
view.afterInputPropertyRender.subscribe(({prop, input}) => {
|
|
369
|
+
inputsMap[prop.name] = input;
|
|
370
|
+
});
|
|
371
|
+
await view.isReady.pipe(filter((x) => x), take(1)).toPromise();
|
|
372
|
+
await delay(1500);
|
|
373
|
+
for (const [name, input] of Object.entries(inputsMap)) {
|
|
374
|
+
input.value = inputValues[name];
|
|
375
|
+
const element = (input as any).input;
|
|
376
|
+
element.dispatchEvent(new Event('input', {bubbles: true}));
|
|
377
|
+
}
|
|
378
|
+
await delay(1000);
|
|
379
|
+
const results = view.getValidationState();
|
|
380
|
+
expectDeepEqual(
|
|
381
|
+
results,
|
|
382
|
+
{
|
|
383
|
+
'a': {
|
|
384
|
+
'revalidate': ['b', 'c'],
|
|
385
|
+
'context': {'isOk': false},
|
|
386
|
+
'warnings': [
|
|
387
|
+
{'description': 'Try lowering a value'},
|
|
388
|
+
],
|
|
389
|
+
},
|
|
390
|
+
'b': {
|
|
391
|
+
'warnings': [
|
|
392
|
+
{'description': 'Try lowering a value as well'},
|
|
393
|
+
],
|
|
394
|
+
},
|
|
395
|
+
'c': {
|
|
396
|
+
'warnings': [
|
|
397
|
+
{'description': 'Try lowering a value as well'},
|
|
398
|
+
],
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
);
|
|
402
|
+
});
|
|
403
|
+
});
|