@datarailsshared/dr_renderer 1.5.118 → 1.5.120
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.
|
@@ -1043,12 +1043,12 @@ describe('Options Builder Module', () => {
|
|
|
1043
1043
|
expectValidSuboptionDefinition(result);
|
|
1044
1044
|
});
|
|
1045
1045
|
|
|
1046
|
-
it('should have transpose
|
|
1046
|
+
it('should have transpose disabled by default', () => {
|
|
1047
1047
|
const result = withTableOptionsTranspose();
|
|
1048
1048
|
const transpose = result.elements.find(e => e.value_name === 'transpose_table');
|
|
1049
1049
|
|
|
1050
1050
|
expect(transpose).toBeDefined();
|
|
1051
|
-
expect(transpose.default_value).toBe(
|
|
1051
|
+
expect(transpose.default_value).toBe(false);
|
|
1052
1052
|
});
|
|
1053
1053
|
});
|
|
1054
1054
|
|
package/tests/suboptions.test.js
CHANGED
|
@@ -116,7 +116,7 @@ describe('highchartsRenderer.suboptions', () => {
|
|
|
116
116
|
test('all suboptions have required properties', () => {
|
|
117
117
|
Object.entries(highchartsRenderer.suboptions).forEach(([key, suboption]) => {
|
|
118
118
|
// category_class is required
|
|
119
|
-
expect(suboption.category_class
|
|
119
|
+
expect(suboption.category_class).toBeDefined();
|
|
120
120
|
|
|
121
121
|
// category_type is required
|
|
122
122
|
expect(suboption.category_type).toBeDefined();
|